Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Getting mad at different CMD / Batch behaviour Post 302854907 by pasc on Wednesday 18th of September 2013 03:15:12 PM
Old 09-18-2013
Yes, however, not all commands have a % in them.

What is with those without one, why won't they work in bat ?
 

8 More Discussions You Might Find Interesting

1. HP-UX

HP-UX boxes - am I mad?

Greetings, and thanks for having such an interesting forum! I currently have 3 Intel boxes running 2000, and two HP boxes running HP-UX 10.20. I am very inexperienced with the Unix/Linux world. I have several problems, mainly in getting them all networked together. I am constrained to keep a... (3 Replies)
Discussion started by: Menace
3 Replies

2. Shell Programming and Scripting

Simple test driving me mad!

Hi all, I have been writing a script to automate some work for myself and have come accross a problem. I cannot understand why it doesn't work, but then I am new to both Unix and Korn shell hacking! Here is the problem: I want to interogate a file for a number and store that number in... (6 Replies)
Discussion started by: alarmcall
6 Replies

3. UNIX for Dummies Questions & Answers

man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors. So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies

4. UNIX for Dummies Questions & Answers

Using gzip and my speakers have gone mad!

Hello, I wanted to compress a directory which I did with: tar -czvf backup15062007.tar.gz backup15062007/ I knew that you could specify the compression level with gzip so I then did: gzip -cvf9 backup15062007.tar.gz backup15062007compress.tar.gz Now I know this probably won't... (5 Replies)
Discussion started by: patwa
5 Replies

5. Shell Programming and Scripting

Writing a 'Mad Libs' program using Ruby?

How would I go about writing a 'Mad Libs' type program using Ruby? Any examples would be greatly appreciated. Thanks! (0 Replies)
Discussion started by: greeky
0 Replies

6. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

7. Windows & DOS: Issues & Discussions

Command works on CMD line but not in batch?

Hi All, This command works when I type it on but when I run the batch file it doesn't..any ideas why? attrib.exe * | find /c /v "" >filecount.txt (1 Reply)
Discussion started by: Grueben
1 Replies

8. Shell Programming and Scripting

Going mad on an egrep command (Reg Expressions)

Dear community, I am trying for several hours now to create an egrep command to grep the number of lines containing a specific text from a text-file but seem to have an error somewhere. The Textfile contains several thousand lines and has the expression "Lastname" in several lines.... (3 Replies)
Discussion started by: Donzo
3 Replies
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 2.0.0 November 2003 NTFSPROGS(8)
All times are GMT -4. The time now is 12:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy