remote access - Remotely performing actions on another computer via batch file -


i have these statements in batch file, need modified execute on computer on network:

oradim -new -sid %oracle_sid% -intpwd %pass% -startmode m d: cd d:\oracle\product\10.2.0\db_1\database echo control_files = (d:\oracle\databases\%oracle_sid%\control01.ora, d:\oracle\databases\%oracle_sid%\control02.ora, d:\oracle\databases\%oracle_sid%\control03.ora) > init%oracle_sid%.ora echo undo_management = auto >> init%oracle_sid%.ora echo db_name = %oracle_sid% >> init%oracle_sid%.ora echo db_block_size = 8192 >> init%oracle_sid%.ora 

i have used:

net use \\%ip% %pass%/user:%user% sc \\%ip% stop %servicename% 

...to stop services on computer. not sure how knowledge can applied in case.

assistance appreciated, thank in advance.

you can use psexec tool pstools collection remotely run command on remote computer have access to.

you use below run commands specific batch file name filename.

psexec \\%ip% -u %user% -p %pass% filename 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -