Quote:
Originally posted by blue_gene
ok.....from the standard escape table i see....
\n -----new line charater
dir\no.txt" ----so creating trouble....
and also in my above post c:\\fold\\vol\\ file.txt there was
\f-----> form feed
\v-----> vertical tab
these are also in the escape sequence table. so effectively if i really need a sigle slash( which is like in DOS) i have to use one more slash(to override?)
from table i see also \\-----> backslash......
but suppose i have c:\pd\kl ..... i believe i donot have to use \\ here
bcoz \p and \k are not in the escape sequence table.. so no need to go for \\. Only single slash must work.
so i should write c:\pd\kl ...... am i right?
No, you'll probably get a warning if you try to escape something not in the table. You'd write "c:\\pd\\kl"