No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am a computer/robot reincarnated as a human. =8)
- Interests
- Duh, computers
- PC Specs
- An Asus AMD A10 N56DP and an Asus AMD A8 U38N Ultrathin; both with 1080p displays. Mmmm...1080p :-)
28 Posted Topics
Re: After having created your association and file type modification, what output is displayed if you just run ftype? | |
Re: Sorry about the formatting. I tried to use LaTeX formatting codes, but to no avail... \begin{tabular}{| c | c | c | c |} \hline Area Code & \$0.00 & \$0.10 & \$0.13 \\ \hline None & X & & \\ \hline Outside & & X & \\ \hline Others … | |
Re: Depending on what you are trying to delete you can use the following command: [code]del /f /q /s "FILENAME.EXT"[/code] You'll need th quotes if the file name contains spaces & possibly if there are special characters involved. (use the [inlinecode]^[/inlinecode] to 'escape' the special character) Be very careful with the … | |
Re: From [URL=http://blog.subverted.net/?p=397]In search of l33t[/URL] [subverted.net]: [QUOTE]You can force an immediate reboot and on the reboot an fsck by issuing the command … shutdown -F -r The machine drives will be unmounted cleanly, and the system will reboot. While the machine is rebooting the system will force fsck all drives … ![]() | |
Re: For the dataset: [I]C:\DOCS>[INLINECODE]dir[/INLINECODE] 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 <DIR> .. 06/07/2007 11:45 AM <DIR> Business 06/07/2007 09:33 PM <DIR> My Downloads 05/29/2007 11:12 AM 111 ping-subnet.txt 04/27/2000 04:36 PM 766 UserGuide.ico … | |
Re: I think you should take a quick look at this thread: [URL="http://www.daniweb.com/forums/thread181214.html"]Adding a new column in a text file[/URL]. It seems that they are requesting something very similar to what you would like to do. As for what you have now, you can use sed: convertSwToCSV(){ [indent]cd $PATHTOBUILD NUMBER_OF_FILES=[i]Put total … | |
Re: You may want to include [inlinecode]>nul 2>&1[/inlinecode] at the end of the [inlinecode]md[/inlinecode] as the script will undoubtedly list errors after creating the directory the first time. Ex: [code]for /f "delims=." %%n in ('dir /b *.exe') do (md %%n >nul 2>&1 move *.exe %%n)[/code] | |
Re: In reference to this comment: [QUOTE]P.S I was able to get this to work from the command line but with only one value as the input.[/QUOTE] Have you tried [B]xargs[/B]? With maybe a loop that terminates at end of line/file? Just giving you another option. I personally agree with Gromit … | |
Re: In order to get what you want to happen try this [all one line]: [code=batch]start firefox www.google.com & start "C:\Program Files\MultipleIEs\IE6\IEXPLORE.exe" www.google.com & start "C:\Program Files\MultipleIEs\IE55\IEXPLORE.exe" www.google.com[/code] The [b][icode]&[/icode][/b] is used to start more than one process using the same command line. Using [b][icode]&&[/icode][/b] will allow you to start additional … | |
Re: 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 running process then you can try to use … | |
Re: Well the problem with using [icode]echo %text% >> [i]C:\Documents and Settings\Owner\Desktop\log.txt[/i][/icode] is that the [i]C:\Documents and Settings\Owner\Desktop\log.txt[/i] needs to be in quotes. I would recommend that you use variables because you can define them at the top of the your code and change their value all throughout the code by … | |
Re: Yeah you need quotes around file/directories that need quotes. If you want to find out what the DOS 8.3 filename is use [icode]dir /x [i]SOMEDIRNAME[/i][/icode] or [icode]dir /x [i]SOMEFILENAME[/i][/icode] etc... | |
Re: [CODE]@echo off reg query RootKeyName\Path\To\Key\To\Query /v KeyName || echo Does not Exist!!!![/CODE] I think that should work. I don't know off hand what the ERRORLEVEL output of this command is if it does not find the KeyName. That should be easy enough to figure out though. ;) BTW, this could … | |
Re: Try using [B]CTRL+H[/B] 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 will probably tell you to go RTFM. If you don't have a termcap that represents your Terminal then go digging around the … | |
Re: Unfortunately, I need to rearrange the partitions on my laptop so that I can boot linux so I can't test your script out, but... You might want to check out this for some tips on using the [INLINECODE]$RANDOM[/INLINECODE] variable: [URL="http://linuxgazette.net/issue55/tag/4.html"]Getting Random Values in sh[/URL]. [linuxgazette.net.] You might want to change … | |
Re: Just a little trick that I picked up from PERL: || [I]first[/I] or [I]second[/I] -----> Do [I]second[/I] if [I]first[/I] fails && [I]first[/I] and [I]second[/I] --> Do [I]second[/I] only if [I]first[/I] succeeds This is a one liner that I came up with to ping a whole subnet. Very quick and dirty … | |
Re: If your planning on doing this in Windows then try shutdown /? [I][XP & 2K3; not sure about 2K and I am almost positive that it is not native to NT][/I]. It will save you some work. If you plan on doing it in in *nix then I suggest reading … | |
Re: 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: [CODE]@echo off for /f %%G in ("FileManger","Viewer","Resource") do ( for /f %%H in ("fileman","viewer","resource") do xcopy /c /h /v /y %%G\Implementation\bin\Debug\%%H.dll )[/CODE] Very quick and [I]very[/I] [I]very[/I] dirty. Need some error checking and should also put in a method to … | |
Re: Try putting quotes around 2.5 and $temp like so: [CODE]if ["$temp" -ge "2.5"] then;[/CODE] otherwise set a variable equal to 2.5 and test that: [CODE] SOME_VALUE=2.5 if [$temp -ge $SOME_VAULE] then;[/CODE] This may require quotes too so... These suggestions are based on BASH shell scripting which is what this [U]kind … | |
Re: You were off to a good start. Here what I did: ./first [QUOTE]This is a test Still a test Test continues Bogus test Case test may or may not work Bogus test The quick brown fox jumped over the lazy dog. Now is the time for all good men to … | |
Re: The quick and dirty answer is: hdparm -d1 /dev/[drive] -d[B][I]x[/I][/B] enable (1) / disable (0) DMA | |
Re: So apparently you want to set this box up to be a: [INDENT]router webserver mail server[/INDENT] Although all these things can be done on the one machine, I personally would consider it a bit of security risk. Moving on, I have not had the opportunity to setup a linux based … | |
Re: Been awhile since I have jumped on a linux gui (think the last one was Fluxbox), but IIRC you should be able start an editor - gui version, if you like - by running a command via the Gnome Menu. Alternatively, start a shell and then start the editor from … | |
Re: I setup bind on a 486 DX2 with 48MB of RAM for the company I used to work for. Still running right now. The company was given five IPs by their Telco/ISP. I set the websever and the DNS server to answer on the same IP, but probably not the … | |
Re: netconfig is your best friend and setup is its mother. root privileges are best. All your Slack belong to us. =8) | |
Re: Strangely enough I built a very similar server for the company I use to work for. I did install Slackware 9.1, IIRC. Actually, I installed Slackware because I was having problem getting the RAID Array to boot under Win2K3. But unfortunately, it still wouldn't boot using Slack. I did get … | |
Re: Depends on what shell you using. The variable that is being changed needs to be included in the startup "script" that the shell uses. If appending, you can do this: PATH=$PATH:/foo/bar , but if you are prefixing do this: PATH=/foo/bar:$PATH . Anyway, the following is a quick break down of … | |
Re: Well, considering this is an alphabet soup as noted by cscgal, I think that a little more information on this problem needs to be added by the original poster. Although I agree with Zachery's suggestion on the switch, I don't see why a router is needed unless the A (194.186.0.1) … |
The End.