SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Quote:
Originally Posted by mayjune View Post
ok ok it showed...i used \ instead of /R...

17 test:hidden.txt:$DATA
28-06-2009 22:58 17 test.txt
26 test.txt:hidden:$DATA

yes i did create the file before i tried opening in notepad....i followed the steps you said for test.txt

NOTE THIS

C:\>notepad test:hidden.txt
(THIS showes my hidden text)

C:\>notepad test.txt:hidden.txt
(THIS doesnt work, says file doesnt exist..????)
LOL Look at what your drive contents :

17 test:hidden.txt:$DATA
28-06-2009 22:58 17 test.txt
26 test.txt:hidden:$DATA

So, you have created a ADS named "hidden.txt" in the file "test" (without ".txt" extension) and you have also created an ADS named "hidden" (without the ".txt" extension) in the file "test.txt". That means you can either use :

(1) notepad test.txt:hidden or
(2) notepad test:hidden.txt

And not :

(1) notepad test.txt:hidden.txt or
(2) notepad test:hidden

Quote:
Originally Posted by mayjune View Post
one more point, i just added more text in hidden.txt
using
C:\>notepad test:hidden.txt
(added more text)
C:\>dir test.txt
Volume in drive C has no label.
Volume Serial Number is 8C19-481A

Directory of C:\

28-06-2009 22:58 17 test.txt
1 File(s) 17 bytes
0 Dir(s) 33,659,916,288 bytes free
^MY date and time didnt change???? how come it should? i checked, the text is added in hidden.txt
Reason is mentioned in the first part of this reply.
When you added more text to the "hidden.txt", you added it to the ADS "hidden.txt" attached to "test" not "test.txt". So, the time-stamp of "test" changed and not "test.txt".
Try to modify "hidden" and not "hidden.txt", like this :

notepad test.txt:hidden

You will see, the time-stamp of test.txt will change.

You probably messed up with the extensions while creating the file or the ADS. Delete both and start again, as mentioned in the article.
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
What's in a (Exntension) name????
Everything!!!
lol....it worked, the way it should have, the time changed and other things...

ps -
1) what are the systems it will not work on?
2)
i made a new file t.txt:h.txt and checked it worked. It had a hidden file
i sent it to myself on gmail. Downloaded, and tried it on that, didnt work...?
is it because at the end where it went to the system didnt support it? or am i doing something wrong..?

Last edited by mayjune; 29Jun2009 at 22:26..
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
LADS link is not working...

and after downloading the *nix zip, what do i do...?
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Quote:
Originally Posted by mayjune View Post
1) what are the systems it will not work on?
As mentioned in the article, it won't work on an FS which does not support ADS e.g. FAT32 and FAT16. But it works fine if the source and destination file-sytems, both support ADS e.g. transferring from NTFS to Mac HFS is fine.

Quote:
Originally Posted by mayjune View Post
2) i made a new file t.txt:h.txt and checked it worked. It had a hidden file, i sent it to myself on gmail. Downloaded, and tried it on that, didnt work...?
is it because at the end where it went to the system didnt support it? or am i doing something wrong..?
Nothing wrong, may be GMail uses an FS that does not support ADS. So, when your file was stored in GMail, all alternate data streams were lost. So, when you downloaded the file and tested it, it had no ADS !

Quote:
Originally Posted by mayjune View Post
LADS link is not working...
Sorry, I provided an old link. New link = http://www.heysoft.de/en/software/lads.php.
Thanx for the report, I'll request shabbir to update article.

Quote:
Originally Posted by mayjune View Post
after downloading the *nix zip, what do i do...?
Extract all the "*.exe" from "usr\local\wbin" folder inside the zip file to your %WINDIR%\system32 folder.
Then you can directly use the *nix utilities from command prompt.
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
Quote:
Extract all the "*.exe" from "usr\local\wbin" folder inside the zip fil
there is no folder like that, no usr, no local, nor wbin????
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
You downloaded the UnxUtils.zip file, right ?? (The binary file, not the source !)
Then inside the zip, there are two folder : bin and usr.
The executables are @ : usr->local->wbin
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
ok i got the binary file not the source (which i did last time), extracted the exes from usr>local>wbin>
to C:\Windows\System32\
but yet the cat command in not recognized...?
what could be wrong? i checked, cat is there....
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
May be something with the permissions, that's a really annoying feature in Vista. Allow full control to all the exes and see if they work.
Or, may be C:\Windows\System32 is not listed in your PATH environment variable, which is nearly impossible.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Nomination for article of the month - Jun 2009 Started. Nominate this article for Article of the month - Jun 2009
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Start voting for this article for Article of the month - June 2009