smbclient to send cmd command from linux to windows

IngDSE

New Member
Credits
17
Goodmorning,

I need to send some cmd command from linux to windows 7. Until now I use the following command:

" smbclient \\server_address -W domain -Uuser%password -c 'mkdir' " to connect to the server and create a new folder.

Now I'm interesting to send a cmd command able to run program in windows, check if a folder already exist before its creation and many others command from linux with smbclient.
Unfortunately I don't know how to do that. Can someone help me?

thank you really much
Best regards
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top