Page 1 of 2 12>
Topic Options
#129446 - 2004-11-12 08:05 PM these % thingys
hearmeout Offline
Fresh Scripter

Registered: 2002-03-26
Posts: 43
Hi y'all,

I'm wondering if you guys could tell me what these % thingys are called. for example %systemdrive%, %username%, etc. and if have a link to the documentations of these.

Top
#129447 - 2004-11-12 08:10 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I call those "%" thingies "percent thingies" !!!

I call those "%username%" thingies "environment variables" ...

they're basically DOS variables and you can get the whole list of them by typing:

C:\> SET

at the DOS prompt ...

Top
#129448 - 2004-11-12 08:11 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no, you should not type "C:\>"!

just type set.
_________________________
!

download KiXnet

Top
#129449 - 2004-11-12 08:15 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ja, dont type the C:\> bit (Jooel, you basta!) Just realized something, if you tilt your head to the left, and look at the DOS prompt side-ways, it kinda looks like Osama Bin Ladin ...

C:\>

-Shawn

Top
#129450 - 2004-11-12 08:53 PM Re: these % thingys
hearmeout Offline
Fresh Scripter

Registered: 2002-03-26
Posts: 43
thanks shawn for helping me out with 'em percent thingies. Oh, by the way, y'all are funny.


Top
#129451 - 2004-11-12 09:14 PM Re: these % thingys
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
They are NOT DOS thingies but can be viewed easily in a DOS box. You can also see and use them without DOS.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#129452 - 2004-11-12 09:22 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
good point les!
_________________________
!

download KiXnet

Top
#129453 - 2004-11-12 09:24 PM Re: these % thingys
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
been called pointless many times.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#129454 - 2004-11-12 10:55 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
except this one...
_________________________
!

download KiXnet

Top
#129455 - 2004-11-12 11:00 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
they're still DOS thingies ;0)
Top
#129456 - 2004-11-12 11:07 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
actually, they're UNIX thingies ... '0)
Top
#129457 - 2004-11-12 11:08 PM Re: these % thingys
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
From MSN:
Quote:

NTDOC says:
Tell Shawn their not strictly DOS THINGIES, as some programming languages use them as well




_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#129458 - 2004-11-12 11:13 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
From MSN:

Quote:


Les says:

NTDOC says:
Tell Shawn their not strictly DOS THINGIES, as some programming languages use them as well

Shawn says:
Tell Ron he's a mudda fudda




Top
#129459 - 2004-11-13 03:09 AM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you boys kinda suck...
you kinda have no idea, do you?
quess that's why you are so basta-like.

ps, I don't have any idea anyways...
_________________________
!

download KiXnet

Top
#129460 - 2004-11-13 03:31 AM Re: these % thingys
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well it does have to do with the Operating System (OS) but is not limited to the Disk Operating System (DOS). DOS is a much misused term these days. The CMD prompt is not really a DOS prompt but I have been as guilty as everyone else in calling it that.

DOS was the underlying Operating System for all Windows versions except NT/2K/XP/2K3.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#129461 - 2004-11-13 03:38 AM Re: these % thingys
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
No matter how much I tilt my head and squint, my DOS Prompt doesn't look like OBL.
Quote:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\lligetfa>


_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#129462 - 2004-11-13 12:48 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that's no DOS prompt.
this is:
Quote:

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990 - 1999.
 
C:\DOCUME~1\LONKERO>




_________________________
!

download KiXnet

Top
#129463 - 2004-11-13 12:50 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and ja, it's different.
that's why you can use "prompt" command to change it.
_________________________
!

download KiXnet

Top
#129464 - 2004-11-13 02:08 PM Re: these % thingys
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Man-o-man, how do you guys work with those really long DOS prompts ? Here's my prompt:

E:\docs>

I do all my scripting out of the folder that I keep my Kixforms CHM stuff in ... in terms of my script names, try to keep them really short like:

t.kix, ado.kix, t2.kix, lv.kix ...

Sure - these are pretty short and meaningless ... but I dislike those really long,long filenames (especially ones with spaces in them) ...

Each to their own, eh ?

Top
#129465 - 2004-11-13 03:11 PM Re: these % thingys
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
but I still don't get that usage of kix32.exe
_________________________
!

download KiXnet

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 259 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.13 seconds in which 0.097 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org