PDA

View Full Version : Execute a DOS Command before install


linhardt
07-08-2004, 12:05 PM
I am needing to run a DOS Command to set a folder as shared.

net share "MSHP Forms"="c:\mshp forms" /unlimited

How do I go about running the above command prior to the installing of my files?

Adam
07-08-2004, 12:31 PM
linhardt,

If you place that command in a .bat file does it work? If so you can launch the bat file before installing. Please see the following article on how to close a bat file automatically Here (http://support.indigorose.com/index.php?_a=knowledgebase&_j=questiondetails&_i=121&nav=+%26gt%3B+%3Ca+href%3D%27index.php%3F_a%3Dknow ledgebase%26_j%3Dsubcat%26_i%3D3%27%3ESetup+Factor y+6.0%3C%2Fa%3E)

Adam Kapilik

linhardt
07-08-2004, 01:19 PM
Under "Actions" dialog box and in the execute file command i just posted the following in the "File to Execute" Box (eventhough is says 'Path and Filename') and it worked.

net share "MSHP Forms"="c:\mshp forms" /unlimited

So I am assuming you can do any DOS Command by putting it in that part of Setup Factory.

Am I right??