• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Raffle Link

smbclient to send cmd command from linux to windows


New Member

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

No members online now.