Re: File location using go shell (startc:\..)

2005-08-07 Thread Chipp Walters

Scott,

You need to use the shortFilePath() function to return the path in a 
format shell will understand.


best,

Chipp


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 8/4/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: File location using go shell (startc:\..)

2005-08-06 Thread Klaus Major

Hi Scott,
I have been using the go shell command to open up distant files  
deep in the Windows filing architecture, but having problems  
getting past the folder program files


Seems I can't get past a folder with two words, eg. Program Files

go shell (start c:/program_files/appz_folder/mainframe.exe)

doesn't get me there, but
go shell (start c:/appfolder/mainframe.exe)

works

how do I rewrite the file location so runrev understand the  
location of the file?


very strange that it works at all ;-)

Try:

GET shell (start c:\program_files\appz_folder\mainframe.exe)
if the result  empty then
## NO xuccess
   ## do your error thing...
end if
...

shell on windows needs the BACKslash for pathnames.

Hope that helps.


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: File location using go shell (startc:\..)

2005-08-06 Thread Jon
You shouldn't need a start before an EXE in Windows.  If you specify 
an EXE file name, Windows just runs the program.  Start is for when 
all you know is a document name, and you want Windows to go find the 
associated EXE for you.


I've never seen anyone successfully use an underscore to replace a 
space.  Standard Windows procedure is to put the file name (complete 
with spaces) in double quotes.


:)

Jon


Klaus Major wrote:


Hi Scott,

I have been using the go shell command to open up distant files  deep 
in the Windows filing architecture, but having problems  getting past 
the folder program files


Seems I can't get past a folder with two words, eg. Program Files

go shell (start c:/program_files/appz_folder/mainframe.exe)

doesn't get me there, but
go shell (start c:/appfolder/mainframe.exe)

works

how do I rewrite the file location so runrev understand the  location 
of the file?



very strange that it works at all ;-)

Try:

GET shell (start c:\program_files\appz_folder\mainframe.exe)
if the result  empty then
## NO xuccess
   ## do your error thing...
end if
...

shell on windows needs the BACKslash for pathnames.

Hope that helps.


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: File location using go shell (startc:\..)

2005-08-06 Thread Alex Tweedly

scott Yang wrote:


I have been using the go shell command to open up distant files deep in the Windows 
filing architecture, but having problems getting past the folder program files

Seems I can't get past a folder with two words, eg. Program Files

go shell (start c:/program_files/appz_folder/mainframe.exe)

doesn't get me there, but

go shell (start c:/appfolder/mainframe.exe) 


works

how do I rewrite the file location so runrev understand the location of the 
file?
 


Not 100% sure, but I'd try quoting the problematic file names:

put  start  quote  c:/program files/appz_folder/mainframe.exe  
quote into temp


go shell (temp)




--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution