[Info-vax] mkdir ?
Craig A. Berry
craigberry at nospam.mac.com
Fri Jan 25 08:16:10 EST 2019
On 1/24/19 2:47 PM, Scott Dorsey wrote:
> pcoviello at gmail.com <pcoviello at gmail.com> wrote:
>> here is a screen shot of what I see when I go to the menu
>>
>> Enter the file path for these pages: \\facs1\SQL_HELP
>> %DCL-W-IVVERB, unrecognized command verb - check validity and spelling
>> \MKDIR\
>> Path cannot be opened or created. Nothing will be generated.
>> Key RETURN to continue.
>
> It's doing a system command to pass a mkdir on to DCL. Either set up a
> DCL symbol or fix the code.
>
> Don't expect to be able to create a file with a name like \\facs1\SQL_HELP
> though.
Windows filename syntax on VMS could be a challenge, but if you want
something that will accept either VMS or Unix syntax, just use Perl:
$ mkdir :== "''perl' -e ""mkdir $ARGV[0];"""
after which
$ mkdir testdir
$ mkdir ./testdir
$ mkdir [.testdir]
will all give you the same result.
This method also makes intervening directories if necessary, e.g.:
$ mkdir [.a.b.c]
$ dir [.a...]
Directory DSA0:[craig.a]
b.DIR;1
Total of 1 file.
Directory DSA0:[craig.a.b]
c.DIR;1
Total of 1 file.
Grand total of 2 directories, 2 files.
More information about the Info-vax
mailing list