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.
Page 1 of 1
[How to] 7zip virtualdub or virtualdubmode?
#2
Posted 11 February 2005 - 08:16 PM
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.
for the shortcut... well xcopy your already created .lnk? try to use system variables to make sure it will work.
#3
Posted 11 February 2005 - 08:19 PM
ok. how do i have .lnk copy from the sfx too the desktop?
#4
Posted 11 February 2005 - 08:53 PM
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.html
shortcut.exe http://www.optimumx.com
@echo off
setlocal
set dest=%~1
if "%dest%"=="" set dest=%ProgramFiles%\Admin\Unknown Devices
if 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
The only commands you need are unzip.exe and shortcut.exe.
unzip.exe http://www.info-zip.org/UnZip.html
shortcut.exe http://www.optimumx.com
@echo off
setlocal
set dest=%~1
if "%dest%"=="" set dest=%ProgramFiles%\Admin\Unknown Devices
if 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
Share this topic:
Page 1 of 1



Help

Back to top








