Search found 17 matches

by dragovian
24 Aug 2009 13:12
Forum: DOS Batch Forum
Topic: dos batch quick finder v 1.0
Replies: 2
Views: 6630

Excellent Man ++++ Very useful tool. A great little minimalist launcher. well done. i've been doing some "extra" coding to it, and enhancing some of the stuff i already had in there here's the "updated" code. hope ya like it ps: if you spread the code to your friends/colleauges/...
by dragovian
08 Aug 2009 04:31
Forum: DOS Batch Forum
Topic: How to look up computer model from BIOS
Replies: 1
Views: 4902

hey, i don't know if this is what you want, but one of the ways to get information bout the installed bios version is by using the wmic open cmd and type in "wmic bios get /format:list >> %userprofile%\desktop\biosData.txt" this will write the data this command returns into a txtfile on yo...
by dragovian
03 Aug 2009 07:38
Forum: DOS Batch Forum
Topic: help with using substr
Replies: 8
Views: 12485

i figured it out ;D i made two batch files Main batch file @echo off fsutil fsinfo drives >> temp.txt for /f "delims=" %%A in ('findstr /b "Drives" temp.txt') do set YourVar=%%A set mysubstr=%YourVar:~8% echo %YourVar% echo %mysubstr% del temp.txt set /a count=1 for %%A i...
by dragovian
03 Aug 2009 05:00
Forum: DOS Batch Forum
Topic: help with using substr
Replies: 8
Views: 12485

nope :( still gives only 1 :'(
by dragovian
02 Aug 2009 10:12
Forum: DOS Batch Forum
Topic: help with using substr
Replies: 8
Views: 12485

ok guys, so here's the code, but i can't figure out how to do the count :/ ? @echo off fsutil fsinfo drives >> temp.txt for /f "delims=" %%A in ('findstr /b "Drives" temp.txt') do set YourVar=%%A set mysubstr=%YourVar:~8% echo %YourVar% echo %mysubstr% del temp.txt set nu...
by dragovian
02 Aug 2009 08:24
Forum: DOS Batch Forum
Topic: help with using substr
Replies: 8
Views: 12485

^^ yay ^^ ! i managed to do the substring, now all i need to do is use a for to split all the different drives and put em in a variable ^^ and use echo commands to make a choice menu here's the code i used @echo off fsutil fsinfo drives >> temp.txt for /f "delims=" %%A in ('findstr /b ...
by dragovian
02 Aug 2009 07:50
Forum: DOS Batch Forum
Topic: help with using substr
Replies: 8
Views: 12485

help with using substr

hey, i'm trying to "automate" the defrag command and i'm trying to make a choice menu, but i need to get the drives right. so i tried to get a substr from the "fsutil fsinfo drives" command, but i just can't succeed :s. i'm using the set mysubstr=%VARIABLE:~8% but it doesn't work...
by dragovian
01 Aug 2009 09:40
Forum: DOS Batch Forum
Topic: dos batch quick finder v 1.0
Replies: 2
Views: 6630

dos batch quick finder v 1.0

first of all feel free to copy and use this code. all i wish is that if you "distribute" it or send the code to someone else, that you keep the heading as it is . My thanks to avery_larry and rfpd for helping me with code optimization and sorting out some of the input errors second of all ...
by dragovian
31 Jul 2009 12:17
Forum: DOS Batch Forum
Topic: colorChanger : optimize Code ?
Replies: 3
Views: 6429

yup that works ^^ but question the "goto :eof" is that sorta like the "End If" in vb.net, or the "break/continue" command in select case in java ? like "end of for/end of file" ? god i really wish someone would write a decent tutorial on for loops in cmd :/
by dragovian
31 Jul 2009 07:52
Forum: DOS Batch Forum
Topic: create a user folder and give that user full access to it
Replies: 5
Views: 8258

if so then you'd need something in this form @echo off cls set /p name=Name? net user /add %name% mkdir c:\users\%name% pushd c:\users\%name% mkdir Music mkdir Pictures mkdir Documents popd icacls c:\users\%name% /grant %name%:(F) /T timeout -1 and rfpd is right always declare the variable b...
by dragovian
31 Jul 2009 07:48
Forum: DOS Batch Forum
Topic: create a user folder and give that user full access to it
Replies: 5
Views: 8258

i'm confused, you want to make a user folder and give the user full access over it ?

so that means you also want to make a user ?
by dragovian
31 Jul 2009 06:59
Forum: DOS Batch Forum
Topic: colorChanger : optimize Code ?
Replies: 3
Views: 6429

colorChanger : optimize Code ?

can anyone help me optimize this code, i don't know how to in dos, in other programming languages i'd know but not here :/ what i'm trying to achieve is that the foregroundChange and backgroundChange use the same function, instead of having 2 ( practically the same functions ). is there a way to do ...
by dragovian
30 Jul 2009 17:33
Forum: DOS Batch Forum
Topic: MS dos - Enter ?
Replies: 13
Views: 17328

this probably is the final version ( for today ;D ) @echo off title Quick Finder color 0A echo ------------------------------------------------------------- echo ------------ Dragovian Design Quick Finder ------------ echo ------------------------------------------------------------- echo. echo. set...
by dragovian
30 Jul 2009 17:06
Forum: DOS Batch Forum
Topic: MS dos - Enter ?
Replies: 13
Views: 17328

Re: Re

Dragovian you are very smart that program is awesom e like it expecialy that thing of date and the day you teach me that acidentally tankhs sorry my english thanks whatever i can do to keep batch scripting alive ! i'm only learning, and so are you the only thing we can do is learn from each other ^...
by dragovian
30 Jul 2009 13:43
Forum: DOS Batch Forum
Topic: MS dos - Enter ?
Replies: 13
Views: 17328

thanks for the replies guys really helped me a lot, i know for the 2 word "problem" that i needed to use quotes, but i didn't know in what order. thanks ^^ i've been using cmd for couple years now, but i'm only just really getting into batch scripting it can really make a difference it's j...