Search Results

Showing results 1 to 20 of 20
Search took 0.00 seconds.
Search: Posts Made By: mittelgeek ; Forum: Legacy and Other Languages and child forums
Forum: Legacy and Other Languages Apr 23rd, 2009
Replies: 5
Views: 1,704
Posted By mittelgeek
Please put your code/script within the [CODE] tag so that it does interpret the script contents as smiley's and html.

So From what I can see you might want to use the sleep command to affect a...
Forum: Legacy and Other Languages Mar 25th, 2009
Replies: 5
Views: 1,704
Posted By mittelgeek
Depending on what you are trying to delete you can use the following command:

del /f /q /s "FILENAME.EXT"

You'll need th quotes if the file name contains spaces & possibly if there are special...
Forum: Legacy and Other Languages Sep 28th, 2008
Replies: 1
Views: 1,549
Posted By mittelgeek
Sorry about the formatting. I tried to use LaTeX formatting codes, but to no avail... =8(


\begin{tabular}{| c | c | c | c |}
\hline
Area Code & \$0.00 & \$0.10 & \$0.13 \\...
Forum: Legacy and Other Languages Sep 3rd, 2008
Replies: 4
Views: 6,553
Posted By mittelgeek
In order to get what you want to happen try this [all one line]:
start firefox www.google.com & start "C:\Program Files\MultipleIEs\IE6\IEXPLORE.exe" www.google.com & start "C:\Program...
Forum: Legacy and Other Languages Sep 3rd, 2008
Replies: 5
Views: 2,288
Posted By mittelgeek
All the other posters are correct from what I can tell. If you want to access a thread of a process your out of luck unless you bust out some C/C++ code to terminate it. If you just want to kill the...
Forum: Legacy and Other Languages Sep 3rd, 2008
Replies: 1
Views: 1,082
Posted By mittelgeek
Well the problem with using echo %text% >> C:\Documents and Settings\Owner\Desktop\log.txt is that the C:\Documents and Settings\Owner\Desktop\log.txt needs to be in quotes.

I would recommend that...
Forum: Legacy and Other Languages Sep 3rd, 2008
Replies: 5
Views: 2,448
Posted By mittelgeek
Yeah you need quotes around file/directories that need quotes.

If you want to find out what the DOS 8.3 filename is use dir /x SOMEDIRNAME or dir /x SOMEFILENAME etc...
Forum: Legacy and Other Languages Aug 21st, 2007
Replies: 6
Views: 7,058
Posted By mittelgeek
Yeah that should work, with a few changes:
for /f "usebackq tokens=*" %%g in (`dir /b /s /A:d`) do @cd "%%g" && @ren *.extn1 *.extn2 But in my original reply to the original post by pink_zippy_123,...
Forum: Legacy and Other Languages Jun 11th, 2007
Replies: 6
Views: 7,058
Posted By mittelgeek
Absolutely. I didn't reread his post before I submitted mine.
for /f "usebackq tokens=1 delims=." %g in (`dir /b /s .\*.tql`) do @ren %g.tql %g.sql
I think that should fix him up.

Thanks for...
Forum: Legacy and Other Languages Jun 8th, 2007
Replies: 3
Views: 1,665
Posted By mittelgeek
Linux provides a full complement of switches to the shutdown command and many distributions provide aliases to many commonly used variants, e.g., reboot, poweroff, etc.

Unless you are trying to...
Forum: Legacy and Other Languages Jun 8th, 2007
Replies: 6
Views: 7,058
Posted By mittelgeek
For the dataset:

C:\DOCS>dir
Volume in drive C has no label.
Volume Serial Number is xxxx-xxxx

Directory of C:\DOCS

05/29/2007 11:12 AM <DIR> .
05/29/2007 11:12 AM ...
Forum: Legacy and Other Languages Jun 8th, 2007
Replies: 3
Views: 1,665
Posted By mittelgeek
If your planning on doing this in Windows then try shutdown /? [XP & 2K3; not sure about 2K and I am almost positive that it is not native to NT]. It will save you some work.

If you plan on doing...
Forum: Legacy and Other Languages Jun 4th, 2007
Replies: 29
Views: 35,951
Posted By mittelgeek
I just reread the OP and think that this might do what you need to get done:

@echo off
cls
poweroff wol -ip 192.168.0.3 -subnet 255.255.255.0 -mac 0xxxx00xxxxx

:return
ping 192.168.0.3 > nul...
Forum: Legacy and Other Languages Jun 2nd, 2007
Replies: 29
Views: 35,951
Posted By mittelgeek
Yeah I looked at what I wrote again. FOR /L iterates through a series of numbers using (START,STEP,END) for the parameters.

FOR /F uses the content of (FILENAME or TEXT) as its parameters.

I...
Forum: Legacy and Other Languages May 31st, 2007
Replies: 29
Views: 35,951
Posted By mittelgeek
Whoops! I messed up the for statement. It should read:
for /f %g in (1,1,254) do @ping 192.168.20.%g 2>&1 > nul && echo Alive 192.168.20.%g || echo Dead 192.168.20.%g
Sorry. =8(
Forum: Legacy and Other Languages May 30th, 2007
Replies: 5
Views: 3,282
Posted By mittelgeek
Try using CTRL+H

Then change your TERM environment variable to emulate the correct Terminal.

Next post in the Unix/Hardware/Troubleshooting forum. *nix is probably your best bet. Although they...
Forum: Legacy and Other Languages May 30th, 2007
Replies: 4
Views: 74,614
Posted By mittelgeek
Try putting quotes around 2.5 and $temp like so:
if ["$temp" -ge "2.5"] then;
otherwise set a variable equal to 2.5 and test that:

SOME_VALUE=2.5
if [$temp -ge $SOME_VAULE] then;
This may...
Forum: Legacy and Other Languages May 30th, 2007
Replies: 3
Views: 33,089
Posted By mittelgeek
@echo off
reg query RootKeyName\Path\To\Key\To\Query /v KeyName || echo Does not Exist!!!!
I think that should work. I don't know off hand what the ERRORLEVEL output of this command is if it does...
Forum: Legacy and Other Languages May 30th, 2007
Replies: 3
Views: 4,521
Posted By mittelgeek
For the data set:

C:\FileManager\Implementation\bin\Debug\fileman.dll
C:\Viewer\Implementation\bin\Debug\viewer.dll
C:\Resource\Implementation\bin\Debug\resource.dll

Try something like:...
Forum: Legacy and Other Languages May 30th, 2007
Replies: 29
Views: 35,951
Posted By mittelgeek
Just a little trick that I picked up from PERL:

|| first or second -----> Do second if first fails

&& first and second --> Do second only if first succeeds

This is a one liner that I came up...
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC