LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Allowing Windows batch file on Linux fedora 10 question (https://www.linuxquestions.org/questions/linux-server-73/allowing-windows-batch-file-on-linux-fedora-10-question-768281/)

lacko 11-10-2009 06:07 PM

Allowing Windows batch file on Linux fedora 10 question
 
Hey all
I have a home server setup with Fedora 10 and running amahi all runs fine :)

The problem i have is i have 3 windows network users. I have a shaerd pictures folder on the server that everyone accesses and basically they upload all our rugby photos we take. I have created a batch file that basically gets information off the user to create a folder in the pcitures folder so i keep a consistent folder structure.

It keeps saying CMD.exe not avaliable so returning to windows directory and runs there, which obviously made me think linux doesnt run CMD.EXE...lol
I also get something about UNC paths not accepted but i think thats windows problem lol

What is the best way to work around this allowing windows users connecting to a linux share folder and run a form of batch file.

Cheers for all the help :)

Tom

kbp 11-10-2009 08:51 PM

Have you mapped a drive letter to the share ? The batch file should work fine, could you post some of it ?

lacko 11-11-2009 02:42 PM

ahh ok i feel stupid now!

I know i should make another topic buttt..

how can i run a terminal command from a networked drive where im on windows and i want to run the terminal on my linux server?

kbp 11-11-2009 08:57 PM

You'll need to use 'ssh -c ... ' I think

cheers


All times are GMT -5. The time now is 05:41 PM.