Answer the question
In order to leave comments, you need to log in
Is it possible to rewrite from powershell to bat?
Hello.
There is a powershell script:
if not exist \\share\audit\%COMPUTERNAME%.txt ( \\share\audit\aida\aida64.exe /R \\share\audit\%COMPUTERNAME% /TEXT /CUSTOM \\share\audit\aida\aida64.rpf ) else exit
Answer the question
In order to leave comments, you need to log in
@echo off
if not exist "\\share\audit\%COMPUTERNAME%.txt" (
"\\share\audit\aida\aida64.exe" /R "\\share\audit\%COMPUTERNAME%" /TEXT /CUSTOM "\\share\audit\aida\aida64.rpf"
)
else (
exit
)
if not exist "\\share\audit\%COMPUTERNAME%.txt" ( "\\share\audit\aida\aida64.exe" /R "\\share\audit\%COMPUTERNAME%" /TEXT /CUSTOM "\\share\audit\aida\aida64.rpf" ) else ( exit )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question