pmqs / Fix-OneDrive-Zip

Fix OneDrive Zip files >4Gig
266 stars 24 forks source link

Error: No such file or directory #10

Closed shivaldube closed 8 months ago

shivaldube commented 8 months ago

Hi Paul, I've followed all the steps outlined above for a windows user. However I keep getting the following error: Can't open perl script "fix-onedrive-zip-new": No such file or directory

Any pointers would be greatly appreciated.

Thanks, fix-onedrive-zip error

pmqs commented 8 months ago

Hey @shivaldube

that's a very strange error. The wording suggests that you do have perl installed, but for some reason it cannot execute the fix-onedrive-zip script.

When you run ls fix-onedrive-zip does it complain?

Try running like this

perl .\fix-onedrive-zip` myfile.zip
shivaldube commented 8 months ago

Hi Paul, Here is the screenshot when I try running ls fix-onedrive-zip

Error ls

pmqs commented 8 months ago

The fact that your initial screenshot showed a directory that did have fix-onedrive-zip present, but the ls command does not see it suggests the filename may contains some unexpected characters.

Does running ls (without any parameters) output the fix-onedrive-zip script name?

Try renaming fix-onedrive-zip to myscript and run perl myscript myfile

shivaldube commented 8 months ago

Hi Paul, Thanks for the help. Still no luck.

Error

shivaldube commented 8 months ago

Hi Paul, Thanks a lot for the replies and help the script worked. I have to write the file name with extension like myscript.txt

worked!!

Thanks again!!

pmqs commented 8 months ago

Excellent!