LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-10-2009, 06:07 PM   #1
lacko
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 11-10-2009, 08:51 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Have you mapped a drive letter to the share ? The batch file should work fine, could you post some of it ?
 
Old 11-11-2009, 02:42 PM   #3
lacko
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
Old 11-11-2009, 08:57 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You'll need to use 'ssh -c ... ' I think

cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing a batch file on Windows from Linux using a Shell-Script paragkalra Linux - Networking 3 08-13-2008 12:45 PM
how to write a batch file to make a program run during boot up in windows??? b0nd Programming 7 09-04-2006 06:16 AM
Trigger linux command by windows batch file? mariusak Linux - Networking 6 06-03-2005 05:15 AM
call program on linux box from windows batch file naijaguy Programming 5 08-14-2004 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration