Files
ruby-windows-scripts/network-path-length.bat

15 lines
361 B
Batchfile

@echo off
echo This script will scan all local drives for any paths bigger than 255 characters.
echo It will leave a .txt on your desktop.
echo .
echo .
pause
cls
call ruby\bin\irb.bat source\filepath.rb
xcopy "files.txt" "%userprofile%\Desktop"
cls
echo The script has finished....
echo You can find files.txt on your desktop.
echo .
pause
exit