FSRM Variables in Command
hi,
we implementing quotas , trying pass variables/arguments batch file wanting run when limit reached, variable seems work [server] (well there 1 have since located also; few of variables seem work).
i have assumed (as unable locate documentation) variables list able used in command arguments when running script/command - assumption correct or not? appear not; if not there somewhere says ones can passed through , used?
if can offer assistance in hugely appreciated can't seem find clarity anywhere on can use in arguments
regards
troy
we implementing quotas , trying pass variables/arguments batch file wanting run when limit reached, variable seems work [server] (well there 1 have since located also; few of variables seem work).
i have assumed (as unable locate documentation) variables list able used in command arguments when running script/command - assumption correct or not? appear not; if not there somewhere says ones can passed through , used?
if can offer assistance in hugely appreciated can't seem find clarity anywhere on can use in arguments
regards
troy
well after shagging around , searching internet while managed find assisted:
in "run command or script" area, type location cmd.exe (eg c:\windows\system32\cmd.exe)
and in "command arguments" area, type location batch file wanting call, plus variables want use.
using method seems work , allows passing various variables through without issues....weird true....
eg
/c c:\yourpath\yourbatchfile.bat [server] [quota path] [quota limit mb]mb [quota used mb] [quota system path]
anyhow in case else runs in same problem.
in "run command or script" area, type location cmd.exe (eg c:\windows\system32\cmd.exe)
and in "command arguments" area, type location batch file wanting call, plus variables want use.
using method seems work , allows passing various variables through without issues....weird true....
eg
/c c:\yourpath\yourbatchfile.bat [server] [quota path] [quota limit mb]mb [quota used mb] [quota system path]
anyhow in case else runs in same problem.
Windows Server > File Services and Storage
Comments
Post a Comment