Jump to content

Iexpress package problem


Recommended Posts

Guest WILLIAM
Posted

I don't know where to post this so I'll start here. I created a simple batch

file to run some commands and copy files, and it works great. The folder

contains all the files and no matter where I put the folder, the batch file

works.

 

So I thought it would be even better if it was packaged as an EXE, I used

Iexpress on WindowsXP. When you double click the package the files expand

and the first few lines (Title, Color, and IF) I get a bad command or file

name. Also I can't set a variable with a really long path statement

(C:\documents and settings\userprofile\application data\symantec\ghost)

 

It has to be DOS related, the batch file can no longer run the If command

because it doesnt' know where to find that internal command. Any ideas?

 

Thanks a bunch!

  • Replies 1
  • Created
  • Last Reply
Guest WILLIAM
Posted

RE: Iexpress package problem

 

Got it. With Iexpress you need to have the package launch a CMD file, not a

BAT file. When it expands the files then runs your "setup.cmd" file it will

invoke CMD.exe instead of Command.com. Just getting Iexpress to see a CMD

file in that drop down list was the trick...

 

"WILLIAM" wrote:

> I don't know where to post this so I'll start here. I created a simple batch

> file to run some commands and copy files, and it works great. The folder

> contains all the files and no matter where I put the folder, the batch file

> works.

>

> So I thought it would be even better if it was packaged as an EXE, I used

> Iexpress on WindowsXP. When you double click the package the files expand

> and the first few lines (Title, Color, and IF) I get a bad command or file

> name. Also I can't set a variable with a really long path statement

> (C:\documents and settings\userprofile\application data\symantec\ghost)

>

> It has to be DOS related, the batch file can no longer run the If command

> because it doesnt' know where to find that internal command. Any ideas?

>

> Thanks a bunch!


×
×
  • Create New...