Closed pmqs closed 1 year ago
Hi Paul, I'm a perl novice but I've been searching for a means to open large zip files. I've followed all the steps outlinedabove 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, Megan
Hey Megan,
I assume you are running Windows and you have perl installed?
If that is the case then the most straightforward way to run the script is to make sure that both the fix-onedrive-zip
script and the zip file you want to fix are in the same directory.
If that is the case, then open a command window and run
perl fix-onedrive-zip yourfile.zip
If that doesn't work, can you get me a log (or screenshots) of what you tried please?
Sorry Megan - don't see any screenshots. Try adding them directly to the issue vla the link https://github.com/pmqs/Fix-OneDrive-Zip/issues/1 rather than via an email reply.
Hi Paul, Please see the screen print below. Thanks for the help.
Hey Megan
your command window isn't open in the directory where the zip file & my script live. The files are in a OneDrive folder ending in Golder 2021
, while you command window is open in the directory C:\Users\Megan
.
Unfortunately I can't see the full path where OneDrive lives. Lets assume C: for now
In the command window change directory to the OneDrive folder. I'm guessing the full path below - fix if I've missed anything.
cd "\Users\Megan\OneDrive\Documents\Golder 2021"
Now try running the Perl command again.
There have been a couple of Windows users who have had difficulty in running the script.
Can use this reply below as the starting point for some new documentation
This tool is run from a Windows terminal shell, like cmd or PowerShell.
Start by downloading the code from GitHub onto your Windows box. You only need to download the file "fix-onedrive-zip"
To run my code on Windows you first need to check if you have Perl installed. For Linux systems this isn't an issue, because they all ship with one. On Windows you need to install one, if you don't already have it. To find out, run up cmd (type Windows-R, the type cmd). You should now be a terminal window. Type "perl -v"
On my setup it prints this
If you don't get that, install one of the Windows Perl distributions. http://strawberryperl.com/ is a good choice. Pick the 64-bit option & install. (http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.msi)
Finally, to fix your file, copy my script to the same directory as your zip file, then open a cmd terminal in that directory and run --