i have a cmd and want it to be convert to a exe
the code below is for excuting for a exe
on a cd with out knowing the cd drive letter.and works 100%
because the cmd icon is ugly i want a exe with a nice icon
the cmd is copyt during the install of windows xp to the desktop
is this poseble,can somone help me with this?
cmdow @ /HID
@echo off
ECHO.
for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
SET SOURCE=%SOURCE:~0,2%
%SOURCE%\install\soft.EXE
EXIT
thanks for reading this



Help

Back to top











