SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Creating directories

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Creating directories
Author Message
Con



Joined: 15 Nov 2002
Posts: 16

Post Creating directories Reply with quote

Could someone tell me if there's a jal command to
create a directory, I can't seem to find one?

Fri Nov 15, 2002 7:13 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Creating directories Reply with quote

DirCreate [dir]

: Could someone tell me if there's a jal command to
: create a directory, I can't seem to find one?

Fri Nov 15, 2002 9:37 am View user's profile Send private message
Con



Joined: 15 Nov 2002
Posts: 16

Post Re: Creating directories Reply with quote

: DirCreate [dir]

I don't seem to have that command, produces
compiler error: keyword not found.
I think it's probably my 24x7 version, 2.4.7

Thanks,
Con.

Mon Nov 18, 2002 5:54 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Creating directories Reply with quote

Sorry, this command does not exist in version 2.

As a workaround you can create a batch file with MD command and run this file from within a job

Here is an example batch file c:\mydir.bat

MD %1

In a script type job you can run it as

Dim pid, number
RunAndWait "c:\\mydir.bat new_dir_name_here", "parent_dir_here", 0, pid

// Other processing here.

: I don't seem to have that command, produces
: compiler error: keyword not found.
: I think it's probably my 24x7 version, 2.4.7

: Thanks,
: Con.

Mon Nov 18, 2002 9:46 am View user's profile Send private message
Con



Joined: 15 Nov 2002
Posts: 16

Post Re: Creating directories Reply with quote

That should work.

Thanks,
Con.

: Sorry, this command does not exist in version 2.

: As a workaround you can create a batch file with MD command and run this file
: from within a job

: Here is an example batch file c:\mydir.bat

: MD %1

: In a script type job you can run it as

: Dim pid, number
: RunAndWait "c:\\mydir.bat new_dir_name_here",
: "parent_dir_here", 0, pid

: // Other processing here.

Mon Nov 25, 2002 2:50 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.