AnsweredAssumed Answered

vrf how to write a file to a directory that doesn't exist

Question asked by VRFuser on Mar 21, 2005
Joel,

If you are running Windows XP, then it's a simple matter of executing
one DOS command prior to your write statement.

In an "Execute Program (PC)" box, set the following:

Run Style: Minimized
Wait for prog exit: Yes
Prog with params: cmd /c md "C:HarryTom"
Working directory: [leave blank]

I always recommend using quotes in case there are embedded spaces in
any of the folder names.

(Of course, if you are running Windows 9x, you can disregard the above
gibberish and start petitioning the powers that be at your workplace
it's past time for some upgrades!) 

Cheers,
Mike Groves


-----Original Message-----
From: DUNSMORE,JOEL (A-Sonoma,ex1) [mailto:joel_dunsmore@agilent.com]
Sent: Monday, March 21, 2005 5:00 PM
To: VRF
Subject: [vrf] how to write a file to a directory that doesn't exist


Is there a simple vee way to write a file to a directory that does not
exist.
That is, create the file and the directories.

Ex. we have C:Bob available. 
I'd like to write to C:HarryTomfilename

So I'd like VEE to create Harry and Tom, before writing filename.

Thanks,

P.S.  I lost the address to Shawn's archive, can you post it again.


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes