Jump to content

Path With Spaces?


Recommended Posts

What is the correct way to put the path in cmd1[pn]=, to setup.exe?

prog[pn]=['Adobe Illustrator CS']
uid[pn]=['illustrator']
desc[pn]=['Install Adobe Illustrator CS.']
ordr[pn]=[6]
cmd1[pn]=['%cdrom%\\PROGRAMVARE\\IllustratorCS\\Adobe illustrator CS\\setup.exe -s -f2\\"%systemdrive%\\Install\\Illustrator.log\\"']
cat[pn]=['Programvare']
pn++

my guess would be

cmd1[pn]=['\"%cdrom%\\PROGRAMVARE\\IllustratorCS\\Adobe illustrator CS\\setup.exe\" -s -f2\\"%systemdrive%\\Install\\Illustrator.log\\"']

is this correct?

Link to comment
Share on other sites


prog[pn]=['Microsoft AntiSpyware']

uid[pn]=['msantispyware']

desc[pn]=['Install Microsoft AntiSpyware beta 1.']

ordr[pn]=[14]

cmd1[pn]=['"%cdrom%\\PROGRAMVARE\\MSANTISPYWARE\\Microsoft AntiSpyware.msi" /qn REBOOT=ReallySuppress ALLUSERS=1']

cmd2[pn]=['"%programfiles%\\Microsoft AntiSpyware\\gcasDtServ.exe" /regserver']

dflt[pn]=['yes']

cat[pn]=['Tilbehør']

pn++

Maybe this makes it more clear :D

Is this code the correct way to handle a path with spaces?

Link to comment
Share on other sites

I don't understand the problem here, I use this and many like it;

prog[pn]=['<u><font color=#33ffff">ATI AIW Remote</font></u&gt]

desc[pn]=['AIW Remote v.25.']

cat[pn]=['<u><font color=#33ffff">ATI Drivers</font></u&gt]

cmd1[pn]=['%cdrom%\\software\\ati25rw\\remote25.exe -s -f2"%systemdrive%\\ATIRW.log"']

cmd2[pn]=['wait 300']

ordr[pn]=[69]

pn++

BD

EDIT

This program is very forgiving compaired to RunOnceEx, most of the quotes can

be done away with, I just copied from ROEx and left them, but I experimented

in the past.......

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...