cmd file inside my Setup solution (newbie queston)

  • Thread starter Thread starter JH
  • Start date Start date
J

JH

I have this simple .cmd file which I want to run inside my other programs in
VS.net (setup file). It does not run.
Can somebody help me!!!!!!!!

IF "%ver%"=="Microsoft Windows 2000" GOTO Win2k

@REM IF "%ver%"=="Microsoft Windows XP" GOTO WinXP

@mkdir temp1

GOTO Common

:Win2K

@REM <Win2K instructions here>

mkdir temp2

: Common:

@REM <Common instructions here>

mkdir temp3
 
Hello,

Don't know what you can do in Setup Solutions, but if you can run a program
, then run "cmd.exe" as:
cmd.exe /c PathToYourCmdFile.cmd

Regards,
Elias
 
Back
Top