what is \\.. ..\\ ???

YouTube

Member
Mar 26, 2007
60
0
0
my programming professor asked us what is \\.. ..\\ ?? we're like WTF! anybody know what it is?? it's for 5 extra credit pts man!! please help

Thanks

:D
 

nakedfrog

No Lifer
Apr 3, 2001
63,687
20,145
136
It's an undocumented tweak in assembly code that generally provides a 17% speed increase on certain archaic chipsets.
 

YouTube

Member
Mar 26, 2007
60
0
0
thanks ppl... a lil more details please?? moving between directories in parent directory or?? and what programming language is it? Perl? :Q
 

purbeast0

No Lifer
Sep 13, 2001
53,764
6,645
126
Well speaking genererally of programming, that is going to output to "\.. ..\" because the \\ will be interpreted as a single \ because it's being escaped.

not sure what \.. ..\ actually does, but I know I've seen some weird stuff before in my settings of visual studio and the directories that looks something similar to that syntax. maybe I'm thinking of \..\..\..\ which would just mean their are 3 directories between the beginning and end of the path.
 

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71

Atheus

Diamond Member
Jun 7, 2005
7,313
2
0
Does look a bit like, but not exacly like, directory traversal. You sure you got it right?

Its not necessarily any programming language btw. If you want to move down a directory you would do 'cd ../', or down 2 directories, 'cd ../../'
 

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71
Originally posted by: Atheus
Does look a bit like, but not exacly like, directory traversal. You sure you got it right?

Its not necessarily any programming language btw. If you want to move down a directory you would do 'cd ../', or down 2 directories, 'cd ../../'

Wouldn't that be moving up? Or just using different semantics?
 

Atheus

Diamond Member
Jun 7, 2005
7,313
2
0
Originally posted by: txrandom
Originally posted by: Atheus
Does look a bit like, but not exacly like, directory traversal. You sure you got it right?

Its not necessarily any programming language btw. If you want to move down a directory you would do 'cd ../', or down 2 directories, 'cd ../../'

Wouldn't that be moving up? Or just using different semantics?

Up then, if up is 'backward'...

OP: we really mean 'toward the root directory'.
 

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71
Originally posted by: Atheus
Originally posted by: txrandom
Originally posted by: Atheus
Does look a bit like, but not exacly like, directory traversal. You sure you got it right?

Its not necessarily any programming language btw. If you want to move down a directory you would do 'cd ../', or down 2 directories, 'cd ../../'

Wouldn't that be moving up? Or just using different semantics?

Up then, if up is 'backward'...

OP: we really mean 'toward the root directory'.

Yah toward the root. I'm picturing this from a tree structure. But since the top of the tree is the root, moving up the tree would be towards the leaves and moving down the tree would be towards the root. WHICH IS IT!?! :)