kurt476 Posted February 12, 2005 Share Posted February 12, 2005 how do i do a 7zip virtualdub? how do i have it create shortcut on the desktop?i would like the program avisetup.exe too run after too. oh and i have filters too for virtualdub. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted February 12, 2005 Share Posted February 12, 2005 it doesn't need reg entries, just sfx it.for the shortcut... well xcopy your already created .lnk? try to use system variables to make sure it will work. Link to comment Share on other sites More sharing options...
kurt476 Posted February 12, 2005 Author Share Posted February 12, 2005 ok. how do i have .lnk copy from the sfx too the desktop? Link to comment Share on other sites More sharing options...
FrankE9999 Posted February 12, 2005 Share Posted February 12, 2005 To uncompress a file to a folder and create a shortcut all you need is a simple batch file. Here is the batch file I use to install Unknown Devices. I have the batch file and the zip file in the same folder. Also I have added unzip.exe and shortcut.exe to my system32 folder. You could also place them in the folder with the other files. In that case unzip would be replaced with "%~dp0unzip.exe" and shortcut.exe would be replaced by "%~dp0shortcut.exe" including the quotes.The only commands you need are unzip.exe and shortcut.exe.unzip.exe http://www.info-zip.org/UnZip.htmlshortcut.exe http://www.optimumx.com@echo offsetlocalset dest=%~1if "%dest%"=="" set dest=%ProgramFiles%\Admin\Unknown Devicesif not exist "%dest%" md "%dest%"unzip -o "%~dp0UnknownDevices.zip" -d "%dest%"if not exist "%ALLUSERSPROFILE%\Start Menu\Programs\Admin" md "%ALLUSERSPROFILE%\Start Menu\Programs\Admin"shortcut.exe /F:"%ALLUSERSPROFILE%\Start Menu\Programs\Admin\Unknown Devices.lnk" /A:C /T:"%dest%\UnknownDevices.exe" /W:"%dest%"endlocal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now