Indigo Rose Software
  #1  
Old 10-02-2004
DAK DAK is offline
Forum Member
 
Join Date: Jul 2004
Posts: 9
File.Run

Ref: my earlier message
I found that folder names have to be the DOS version (eight characters). The File.Run function does not accept spaces within folder names.
Names like 'Progra~1' for 'Program Files will work.

Since Windows uses long file / folder names, this function will need to be evaluated against names like 'Program Files', 'My Install Folder', etc.

Dave
Reply With Quote
  #2  
Old 10-02-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
Quote:
Originally Posted by DAK
Ref: my earlier message
I found that folder names have to be the DOS version (eight characters). The File.Run function does not accept spaces within folder names.
Names like 'Progra~1' for 'Program Files will work.

Since Windows uses long file / folder names, this function will need to be evaluated against names like 'Program Files', 'My Install Folder', etc.

Dave
Another user suggested (and it worked for my project) using %20 instead of spaces.

Hope that is of some help...
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #3  
Old 10-03-2004
JimS's Avatar
JimS JimS is offline
Forum Member
 
Join Date: May 2003
Location: Pendleton, Oregon
Posts: 911
You can try to put the path in quotes

"/"" .. path .. "/'''
Reply With Quote
  #4  
Old 10-03-2004
JXBURNS's Avatar
JXBURNS JXBURNS is offline
Forum Member
 
Join Date: Apr 2001
Location: Haverhill, Suffolk, UK
Posts: 333
Long filenames are not a problem but they must be included in quotes (as in any standard windows Start, Run command). You can also use the in-built variables for items such as Program Files folders.

John
Reply With Quote
  #5  
Old 10-03-2004
DAK DAK is offline
Forum Member
 
Join Date: Jul 2004
Posts: 9
DAK Reply

To Jim & John
Thanks,
It now works.

I have the following as the argument list:
[" ".."\""..ArgList.."\""] (The first char [" "] is a space which is needed as a separator from the file name. The ArgList is then the built-in variable SessionVar.Expand("%AppFolder%\\FileName"). This entire ArgList is enclosed in quotes.)

Dave
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File.Run DAK Setup Factory 7.0 Discussion 1 10-03-2004 01:20 PM
File.run _sourcefolder problem SpudGunMan AutoPlay Media Studio 5.0 26 09-07-2004 07:32 PM
File.Run Question fcc AutoPlay Media Studio 5.0 5 08-04-2004 03:20 PM
How set FullScreem using File.run Wizardo AutoPlay Media Studio 5.0 0 07-30-2004 01:56 AM
Newbie (File.Run) Blue AutoPlay Media Studio 5.0 6 02-02-2004 06:31 PM


All times are GMT -6. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software