AnsweredAssumed Answered

vrf Create Directory at Run-time

Question asked by rsb on May 13, 2004
"Vincent Petrone" <vpetrone@kathrein.com> wrote:
> Greetings,
>
> Is it possible to create a directory at run-time.  I want to be able to
> create a directory to store files based on the month.  For example, I have a
> directory named 2004 and I want to be able to create the June directory on
> the fly if it does not already exist.  Please send an example program
> demonstrating how to accomplish the creation.
>
> I would appreciate any help.  I am using VEE 5.0 and Windows 98.

no problem

that's what the "execute program" object is for.

essentially whatever you can do from a command prompt you can do
programatically from the "execute program"

In this case it would be something like   

mkdir June

Try the command out from a command line first to make sure they are right
then paste into the "execute program".

for shell commands you probably need the command interpreter so
the "execute program" would look like

command /C "mkdir June"

regards

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
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