Can someone please take a look at this and see what i have done wrong..
The program suppose to call Winrar.exe and find all the wmv, avi files from this folder C:\Users\thianpa\Downloads and then rar them to 200MB size with each filename including "Nightshre" , I am able to make it right with my local PC but cant get it to work with my Remote Desktop (Windows Server 2008) .Code:C: set SOURCEDIR="C:\Users\thianpa\Downloads" set DESTINATION="C:\Users\thianpa\Downloads\" set WINRAR="C:\Program Files (x86)\WinRAR\WinRar.exe" set FILETYPE=wmv set FILETYPE2=avi set SIZE=209715200 set WINRARCODE=%WINRARCODE% a -u -r cd %SOURCEDIR% for %%i in (*.%FILETYPE% *.%FILETYPE2%) do %WINRARCODE% -zc:\info\info.txt -m0 -v%SIZE%b %DESTINATION%%%~ni.Nightshre.rar %%i
Can you guys take a look or can you make something like this in a different way? I'm all ears![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks