August 18, 201115 yr Trying to install a program and copy a file to desktop and it's working but when I put the compiled script in WPI the install runs fine but the file does not get copied to desktop. Anyone has an idea how to fix that?Is there another way to copy the file to the desktop? I'm using the WPI 8.22 version Thanks Here's the script;EdukleuterRunWait("Edukleuter.exe /SILENT /SUPPRESSMSGBOXES /NORESTART /SP-")sleep (500)FileCopy("Edukleuters.lnk", @DesktopDir) Edited August 18, 201115 yr by dannyict
August 19, 201115 yr Example:{FILECOPY} "%wpipath%\Games\Pocket Tanks.lnk" "%allusersprofile%\Start Menu\Programs\Games 2"
August 20, 201115 yr Author Kelsenellenelvian thanks that worked great Now I got another question if you don't mind?I'm trying to delete a folder from the desktop and used {DELDIR} "%allusersprofile%\\desktop\\folder"Did not work, I can't see a where my fault is. Any suggestions? Edited August 20, 201115 yr by dannyict
Create an account or sign in to comment