Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can I run scripts in my unix account from batch file in Windows? Post 302074723 by Corona688 on Thursday 25th of May 2006 11:02:55 AM
Old 05-25-2006
Quote:
Originally Posted by olgafb
I'd like to make a batch file which would connect to my Unix account and run there the compilation commands. Then I could compile clicking a button at UltraEdit32.
I don't understand. Compile it under UNIX, then, once it's compiled, compile it??

Are you really using telnet instead of ssh?

I'm not offended, but the difficulty of using this kind of stuff is the primary reason not to use windows... I know of no straightforward way to automating this... Windows fights you every inch of the way. You might need to create a custom program.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Run the scripts from windows to UNIX

HI, I have one java program in windows OS. From that java program, I want to run the shell script file in the UNIX OS. Is it possible ??If yes, please post me the source code, how to do that ?? Thanks, Srinivas (3 Replies)
Discussion started by: srinivas peyyal
3 Replies

2. Linux

Possible ways to run shell scripts on Windows

Hi all, I want to know possible ways to exceute the shell scripts on Windows environment. Please help me. Regards, Uday. (2 Replies)
Discussion started by: uday123
2 Replies

3. UNIX for Advanced & Expert Users

help needed to connect to windows from unix and run .bat file

Hi Can anyone tell if it is possible to connect from Unix to t a remote windows environment and run a .bat script. Do SSH/SFTP... serve my purpose..if s how.... if not which commands or scripts will help with my requiremnt. points on this are greatly honoured. Thanks in advance. :) (1 Reply)
Discussion started by: lakshmis10
1 Replies

4. Windows & DOS: Issues & Discussions

Windows services for unix - How do I run in batch

I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it? What would the command line look like? Do I always have to be in a ksh shell to run the batch program even if it is not scheduled? ... (3 Replies)
Discussion started by: rbdenham
3 Replies

5. UNIX for Dummies Questions & Answers

A mechanism like "batch file of windows" in Unix

Hi all, Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies

6. Shell Programming and Scripting

Executing Windows batch file from UNIX

Hi everyone, let me get straight to the points. My manager wants to execute a remote batch file (on a Windows server) from a UNIX Machine, does anyone know if this is possible and what packages would be needed? Thanks p.s. Sorry i cant give OS specifics, we use most UNIX's; AIX, Solaris,... (5 Replies)
Discussion started by: flip387
5 Replies

7. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

8. Shell Programming and Scripting

Windows Batch script for Unix commands

I wish to create a folder on a unix server B from my windows box using windows batch script. Below is my windows batch script. @ ECHO OFF ::Enter your Directory name: echo Enter your Directory name: set /p mydir= plink user1@ServerA mkdir %mydir% At plink command i get logged... (7 Replies)
Discussion started by: mohtashims
7 Replies

9. Shell Programming and Scripting

To run a shell script in remote server from windows batch file

Hi all, i need to run a shell script on remote server. I have created file .bat file in windows server with following code, c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh i need to run the script.sh in my remote server Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies

10. Shell Programming and Scripting

How to write BTEQ batch scripts in UNIX?

Hi All, I need to write Unix shell script. To star with : I need to do some file checking on unix file system, then based on file existance, I need to run diff SQL in Teradata Bteq. After that, depending on Results of SQL, I need to code other shell scripting like moving file, within same... (4 Replies)
Discussion started by: Shilpi Gupta
4 Replies
NTFS-3G.USERMAP(8)					      System Manager's Manual						NTFS-3G.USERMAP(8)

NAME
ntfs-3g.usermap - NTFS Building a User Mapping File SYNOPSIS
ntfs-3g.usermap windows-system-device [other-ntfs-device...] Where windows-system-device is the device containing the Windows system whose users are to be mapped to current Linux system. And other-ntfs-device is another device containing files which are to be accessed both by the Windows mentioned above and current Linux system. the ntfs-3g.usermap command must be started as root, and the designated devices must not be mounted. Typing ntfs-3g.usermap with no args will display a summary of command arguments. DESCRIPTION
ntfs-3g.usermap creates the file defining the mapping of Windows accounts to Linux logins for users who owns files which should be visible from both Windows and Linux. It relies on existing files which were created on Windows, trying to locate significant files and asking which Linux user or group should own them. When a Linux owner or group is requested, the reply may be : - the uid or gid (numeric or symbolic) of Linux owner or group of the file. In that situation, no more file with the same Windows owner will be selected. - or no answer, when not able to define the owner or group. In that situation another file owned by the same Windows user or group may be selected later so that a mapping can be defined. The mappings for standard Windows users, such as "Administrator" or "All Users" are defined implicitly. As a consequence a user mapping should never be defined as Linux root. When there are no more significant files, ntfs-3g.usermap create the mapping file into the file UserMapping in the current directory. This file has to be moved to the hidden directory .NTFS-3G in the root of all the NTFS file systems to be shared between Windows and Linux. This requires the file system to be mounted, but the created file will not be taken into account if not present at mount time, which means the file system has to be unmounted and mounted again for the new mapping file to be taken into account. OPTIONS
No option is defined for ntfs-3g.usermap. EXAMPLES
Map the users defined on the Windows system present on /dev/sda1 : ntfs-3g.usermap /dev/sda1 A detailed example, with screen displays is available on http://pagesperso-orange.fr/b.andre/usermap.html EXIT CODES
ntfs-3g.usermap exits with a value of 0 when no error was detected, and with a value of 1 when an error was detected. KNOWN ISSUES
Please see http://www.tuxera.com/community/ntfs-3g-faq/ for common questions and known issues. If you would find a new one in the latest release of the software then please send an email describing it in detail. You can contact the development team on the ntfs-3g-devel@lists.sf.net address. AUTHORS
ntfs-3g.secaudit has been developed by Jean-Pierre Andre. THANKS
Several people made heroic efforts, often over five or more years which resulted the ntfs-3g driver. Most importantly they are Anton Alta- parmakov, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy, Yuval Fledel, and the author of the groundbreaking FUSE filesystem develop- ment framework, Miklos Szeredi. SEE ALSO
ntfsprogs(8), attr(5), getfattr(1) ntfs-3g.usermap 1.1.2 February 2010 NTFS-3G.USERMAP(8)
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy