Hi.
I did that tool :
Code: cmd /c cls & psexec \\%S% -s \\srv\Fic\com.bat
with this in my com.bat :
Code:
@echo off
cls
set /p cmd= Entrer la commande :
%cmd%
When i try it, it dones :
Code:
PsExec v1.96 - Execute processes remotely
Copyright (C) 2001-2009 Mark Russinovich
Sysinternals - www.sysinternals.com
Starting \\srv\Fic\com.bat
Entrer la commande : aze
'a' n'est pas reconnu en tant que commande interne
ou externe, un programme executable ou un fichier de commandes.
Appuyez sur une touche pour continuer...
\\srv\Fic\com.bat exited on WINXPVIRT
UEL with error code 0.
Appuyez sur une touche pour continuer...
Why i get 'a' and not 'aze' n'est pas reconnu en tant que commande interne (= 'a' is not recognized as internal command)
thx for your help
I did that tool :
Code: cmd /c cls & psexec \\%S% -s \\srv\Fic\com.bat
with this in my com.bat :
Code:
@echo off
cls
set /p cmd= Entrer la commande :
%cmd%
When i try it, it dones :
Code:
PsExec v1.96 - Execute processes remotely
Copyright (C) 2001-2009 Mark Russinovich
Sysinternals - www.sysinternals.com
Starting \\srv\Fic\com.bat
Entrer la commande : aze
'a' n'est pas reconnu en tant que commande interne
ou externe, un programme executable ou un fichier de commandes.
Appuyez sur une touche pour continuer...
\\srv\Fic\com.bat exited on WINXPVIRT
UEL with error code 0.
Appuyez sur une touche pour continuer...
Why i get 'a' and not 'aze' n'est pas reconnu en tant que commande interne (= 'a' is not recognized as internal command)
thx for your help
Comment