smbclient to send cmd command from linux to windows

IngDSE

New Member
Joined
Oct 19, 2018
Messages
3
Reaction score
0
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
 

Members online


Latest posts

Top