Re: passing arguments with ampersands

2007-08-27 Thread SHY
that was the problem. when i manually reassociated the extension, i somehow didnt quote the argument for the filename. my bad. thanks for the various explanations and options for this :) cheers. 2007/8/20, Gabriel Genellina <[EMAIL PROTECTED]>: > > En Sat, 18 Aug 2007 09:24:35 -0300, SHY <[EMAIL

Re: passing arguments with ampersands

2007-08-20 Thread Gabriel Genellina
En Sat, 18 Aug 2007 09:24:35 -0300, SHY <[EMAIL PROTECTED]> escribi�: > theres no special portion of code, just the one that handles filenames > with > spaces. > the problem is that when i associate a file extension to my application > and > i open it, the filename is not quoted before passed

Re: passing arguments with ampersands

2007-08-19 Thread O.R.Senthil Kumaran
Sorry for ignoring the thread. > the problem is that when i associate a file extension to my application and > i open it, the filename is not quoted before passed as an arguement. i dont If it is not quoted by default, you can quote it explicit. If this be the case where the filename is obtained

Re: passing arguments with ampersands

2007-08-18 Thread SHY
theres no special portion of code, just the one that handles filenames with spaces. the problem is that when i associate a file extension to my application and i open it, the filename is not quoted before passed as an arguement. i dont know if its the problem of windows or something, or it was just

Re: passing arguments with ampersands

2007-08-18 Thread Steve Holden
O.R.Senthil Kumaran wrote: >> Quote:D:\ftp\Music\Mixes & Compilations\Above & Beyond - Essential >> Mix\001_Essential_Mix_2004-06-06_-_Above_and_Beyond.txt > >> when i put 'print sys.argv[1:]' at the very beginning of the script, all i >> get is this: >> >> Quote:['D:\\ftp\\Music\\Mixes'] >> > Can

Re: passing arguments with ampersands

2007-08-18 Thread O.R.Senthil Kumaran
> Quote:D:\ftp\Music\Mixes & Compilations\Above & Beyond - Essential > Mix\001_Essential_Mix_2004-06-06_-_Above_and_Beyond.txt > when i put 'print sys.argv[1:]' at the very beginning of the script, all i > get is this: > > Quote:['D:\\ftp\\Music\\Mixes'] > Can you share the portion of the code?

passing arguments with ampersands

2007-08-18 Thread SHY
hey, i have a win32 gui application that accepts filenames as arguments (either via command line or via associating an extension to the application) which are then opened in it. the problem is that as soon as the filename contains characters like '&', the process fails at the very beginning (sys.