Re: short prompt?
Fri, 28 Apr 2006 10:00:24 +0000 (UTC)
sali wrote:
> is it possible to cd to short-named dir, but prompt to show full, long name?
The question essentially is, when in a short-named folder, how can
one get its long name? The solution below should do this, for XP at
least
@echo off & setlocal enableextensions
cd C:\DOCUME~1
for /f %%d in ...
|
Can't redirect output of NET SHARE THIS_SHARE=X:\SOME_FOLDER to a file
Sun, 23 Apr 2006 18:49:30 -0700
Hi Folks,
I suspect I'm overlooking something obvious.
This works:
NET SHARE>Shares.txt
But this produces an empty 0KB file:
NET SHARE THIS_SHARE=X:\SOME_FOLDER>Share_Output.txt
Any help much appreciated
Frank
Frank Denman
Denman Systems
news@denmansystemsx.com
[and please remove the x fom the ...
|
W2kPro not accepting incoming connection
Sun, 23 Apr 2006 11:34:56 -0300
I have a Win2KPro Workstation at home connected to the Net via an ADSL
connection. I enabled Incoming Connections and enabled a user to connect via
PPTP. The connection intent from the external user fails, getting an invalid
login sign. The System Event of the receiving box shows event ID 20189 -
error aut ...
|
short prompt?
Sat, 22 Apr 2006 15:15:15 +0200
xp, dir /x gives short and long filename, for files and directories.
when working with files [notepad f.e.], short name is ok, notepad however
shows long name on title bar.
cd to short-named dir is also ok, cd performs, but, *prompt* is damaged, it
keeps to show short directory name!
prompt is standard, ...
|
If NOT EXIST ... BOOT 0x80 ?
Fri, 21 Apr 2006 22:30:25 +0200
Hi,
I'm looking for a tool to boot from the 1st Harddisc.
What I want to do:
I want to write back a Ghost Image remotely like this:
IF EXIST c:\image.txt goto ghost
goto end
:ghost
ghost.exe -xxx
del c:\image.txt
:end
boot 0x80 (<- I am looking for) ...
|
ANN: EditV32/Choose32 1.4
Fri, 21 Apr 2006 09:57:55 -0600
Sorry for the frequent updates, but I received a bug report.
EditV32/EditVar was skipping the first character of a variable's
contents when using the -u option. 1.4 fixes this.
http://www.cybermesa.com/~bstewart/editv.html
--
Bill Stewart ...
|
ANN: EditV32/Choose32 1.3
Tue, 18 Apr 2006 15:02:30 -0600
EditV32/Choose32 1.3
Home page: http://internet.cybermesa.com/~bstewart/editv.html
Update: Version 1.3 allows spaces in a variable's name.
These programs are freeware.
EditV32/EditVar and Choose32/Choose are replacements for my older
programs Getkey and Getvar. (EditV32/EditVar is superior to Getvar
...
|
|
|
Delete Print Queue on NT4
Tue, 18 Apr 2006 14:17:23 +0900
Hello:
Does any tools or command that I can remove the print queue by
command line?
Thanks a lot! ...
|
Help on For command
Tue, 18 Apr 2006 13:53:10 +0900
Hello:
I am trying to write a script the 2 "for" function. Can you kindly
help to point out what is the error?
for /f "tokens=3,4 delims=, " %a in ('
for %n in (`reg query HKCU\Printers\Connections`) do echo %n | find /i
"PSTT"
') do echo %a %b
I use this script to get the current printer server ...
|
editv11.zip Get and edit user input in shell scripts
Tue, 18 Apr 2006 03:52:36 GMT
Tue 18-Apr-2006: Obtained to Garbo archives
78868 Apr 17 2006 ftp://garbo.uwasa.fi/win95/dosshell/editv11.zip
editv11.zip Get and edit user input in shell scripts, B.Stewart
For more details see Bill's announcement in
http://www.google.com/groups?selm=e211ah$sfm$1%40iruka.swcp.com
All the best, Tim ...
|