06-13-2012
Maybe a way to cheat the rules
Are you familiar with PC Windows?
Read up on scheduling tasks (accessories, system tools, scheduled tasks)
[note, some versions of windows might be a bit different to get there]
Create a scheduled task to run some 1.bat file
In normal operation, this 1.bat file will do no work
Now, on unix, create a text file of your 1.bat file to run on Windows
ftp it to your PC
Now, at the next scheduled execution, it will run.
Some things to think about:
may want to create a 2.bat
have the last line of 1.bat call 2.bat
but, the 2.bat file deletes the 1.bat file you just moved and ran once
AND, makes the 1.bat into its do-nothing original format
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Is it possible to start a windows applications such as mail merge in word from a unix machine (sco-unix, digital osf).
Why to do this ?
Most people known word to create nice documents, but we want to print this documents with our information (name, adresses etc..
like a mailing. This info... (9 Replies)
Discussion started by: Dplancke
9 Replies
2. Shell Programming and Scripting
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
Discussion started by: alx
9 Replies
3. Windows & DOS: Issues & Discussions
Hello,
Is there a way to trigger a Windows bat file or program on a different machine from a different UNIX server using KSC file?
I hope you can assist me with this.
Thanks! (0 Replies)
Discussion started by: punyenye
0 Replies
4. UNIX for Dummies Questions & Answers
Hi, can you run a windows bat file or a VBscript from a shell script?
#!/bin/sh
PATH=/
$PATH/test.bat (1 Reply)
Discussion started by: cmac
1 Replies
5. UNIX for Dummies Questions & Answers
I have two machines, one running Windows and another one Unix over a network. I want to execute a batch file on the Windows machine using a script running on the Unix machine.
I have tried creating a rsa key and transferrring it to the destination machine but it doesn't work. The purpose was to... (3 Replies)
Discussion started by: MobileUser
3 Replies
6. Programming
I'm very new to c++ & unix programming. I have a c++ exe that runs on the unix box, but I am trying to write a c++ windows app that executes the program on unix. I have tried execv(), but it doesn't seem to work or I'm doing something wrong. Would really like to see examples if at all possible. ... (5 Replies)
Discussion started by: ch5082
5 Replies
7. UNIX for Advanced & Expert Users
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
8. Windows & DOS: Issues & Discussions
I'm trying to open multiple IE windows and enter the same text and press <enter> on each. Here's an example with what I have so far.
REM Open
@echo on
start http://10.1.1.1
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password
start http://10.1.1.2
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password... (2 Replies)
Discussion started by: Pitt
2 Replies
9. Shell Programming and Scripting
Hi,
I am new to this forum and this is my first post.
I want to know that if I make an application in Tk (version of Tcl to create GUI) in windows and want to run to UNIX server, is it possible ?
In other words, can I access a UNIX server through a Tk application running on windows ?
... (1 Reply)
Discussion started by: ratneshnagori
1 Replies
10. Windows & DOS: Issues & Discussions
I have compiled an application called tmesh.exe, that was compiled for the cygwin, win7 platform. I wonder, if I do that outside X window, Is there a chance that I can run it on the command prompt of windows 7? (tmesh:4048): Gtk-WARNING **: cannot open display: THANKS Jack (3 Replies)
Discussion started by: lucky7456969
3 Replies
LEARN ABOUT SUSE
libntfs-gnomevfs
NTFSPROGS(8) System Manager's Manual NTFSPROGS(8)
NAME
libntfs-gnomevfs - Module for GNOME VFS that allows access to NTFS filesystems.
OVERVIEW
The GNOME virtual filesystem (VFS) provides universal access to different filesystems. The libntfs-gnomevfs module enables GNOME VFS aware
clients to seamlessly utilize the NTFS library libntfs.
So you can access an NTFS filesystem without needing to use the NTFS utilities themselves (at least in theory anyway). In practice this is
probably more useful for programs and programmers to make using libntfs easier, more generic, and to allow easier debugging of libntfs.
Examples
Prerequisites
To be able to follow these examples you will need to have installed the test utilities from the gnome-vfs-2.4.x package. The easiest way
to do this is to download and compile the gnome-vfs-2 package, e.g. download from:
http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.0/sources/gnome-vfs-2.4.0.tar.gz
Then run ./configure followed by make and make install (as root). This will install it into /usr/local so it should not conflict with your
existing installation from rpm or deb packages which will be in /usr.
Note you may also need to add /usr/local/lib to /etc/ld.so.conf and then run ldconfig (as root) to let your system see the installed gnome-
vfs-2.4.x libraries.
Then run ./configure followed by make and make install (as root) in the main ntfsprogs directory to build and install the libntfs-gnomevfs
module and libntfs library which is used by the module.
Copying a file from an NTFS partition
To copy the file autoexec.bat from the main directory of an NTFS partition (/dev/hda1) to the /tmp directory on your system you could run:
/path/to/gnome-vfs-2.4.x/test/test-xfer file:///dev/hda1#libntfs:/autoexec.bat /tmp/autoexec.bat
To copy a file from a directory inside the NTFS partition you would just specify the full path. So for example to copy the file win.ini
from the Windows directory you would run:
/path/to/gnome-vfs-2.4.x/test/test-xfer file:///dev/hda1#libntfs:/Windows/win.ini /tmp/win.ini
Shell access to an NTFS partition
For debugging it is most useful to be able to do various things to the NTFS partition while it is being operated upon by libntfs. This is
achieved using the test-shell utility (from the gnome-vfs-2.4.x package) by running: /path/to/gnome-vfs-2.4.x/test/test-shell
This drops you into the GNOME VFS shell from where you can now cd into the NTFS partition (/dev/hda1) by typing: cd file:///dev/hda1#lib-
ntfs:/
You are now in the root directory of the NTFS partition. The first thing you will probably want to do is to type "ls" to display the
directory contents.
You could then change directories using the "cd" command, e.g. to enter the Windows directory you would type: cd Windows
You can then open files, seek inside files, read from files (write is not enabled at present), etc thus exercising large portions of the
NTFS library.
Use the "help" command while in the shell to see the available commands.
BUGS
No bugs are known but there are several limitations at the moment:
You cannot get information about files other than what the "ls" command in the test-shell can give you, i.e. the "info" command in the
test-shell does not work.
Further access to the partition is read-only and hence you cannot write to files. This will be changed in the future once the module has
had more wide testing.
There may be other limitations and possibly bugs. Please report any problems to the NTFS mailing list: linux-ntfs-dev@lists.source-
forge.net
AUTHORS
The libntfs-gnomevfs module was written by Jan Kratochvil. This man page was written by Anton Altaparmakov.
AVAILABILITY
The ntfsprogs package which contains the libntfs-gnomevfs module can be downloaded from http://www.linux-ntfs.org/content/view/19/37/
These manual pages can be viewed online at http://man.linux-ntfs.org/ntfsprogs.8.html
SEE ALSO
ntfsprogs(8)
Linux-NTFS version 1.13.1 November 2003 NTFSPROGS(8)