I'm probably overlooking something very basic, but I'm running on Win2016 with Cache 2016.2 - All the work I am doing is in INT routines, but I'm making some calls to the Host File system using $ZF(-1).
I have a few mapped Network drives that are mapped in Windows, typically these are locations where I want to back up some files.
My process is quite simple:
1. Read data
2. Zip data files using RAR
3. Create folder on Network drive
4. Move RAR files to new network share.
I've tried a few different commands:
S LOC="G:\RAN\Backup1\",CMD="MD "_LOC,X=$ZF(-1,CMD)
S LOC="\\data1\data\RAN\Backup1\",CMD="MD "_LOC,X=$ZF(-1,CMD)
I'm unsure if its a limitation of Cache to do this sort of thing, or if I should created a BAT file and then kick off a Windows call to run the BAT file