General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
what is wrong with this script?
Enter folder to compress: <- and i don't know what to type here
when i type C:\test - folder was not found
i'm sure that there is something missing or something wrong. can anyone help me? thanks for any suggestions :)
rem %1 name of attribute
echo %1
@echo off
set /P %my_folder%="Enter folder to compress: "
if exist %my_folder% goto %rar_file%
goto error
cd %my_folder%
rar.exe a %my_folder% -s
goto done
:error
echo folder was not found
:done