Author Topic: file extensions  (Read 869 times)

Hollywood

  • Newbie
  • *
  • Posts: 7
  • Kudos: 0
    • http://N/A
file extensions
« on: 26 January 2002, 21:09 »
I'm trying to read a .sysz file it comes out in computer language. Is there any way I can change it to english?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #1 on: 26 January 2002, 21:29 »
quote:
Originally posted by Hollywood:
I'm trying to read a .sysz file it comes out in computer language. Is there any way I can change it to english?


Yes, use the "translate" command. Open a command prompt and change into the directory where the file resides and type "translate /english > filename.sysz".

e.g. if you have a file called "system.sysz" in the C:\WINNT directory you would:

1) Open command prompt
2) C:
3) cd \winnt
4) translate /english > system.sysz

Hope this helps!

NOTE: This is intended as a joke.  Try it on a meaningless file first.

[ January 26, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #2 on: 26 January 2002, 21:50 »
I'm sorry, I should have also added that this command works very well on Windows system files as well. It will output the source code for any windows system file.  Run it on "win.com" for instance...
Someone please remove this account. Thanks...

Hollywood

  • Newbie
  • *
  • Posts: 7
  • Kudos: 0
    • http://N/A
file extensions
« Reply #3 on: 26 January 2002, 21:54 »
I get a bad command or fil name. I tried it ever which way.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #4 on: 26 January 2002, 10:14 »
quote:
Originally posted by Hollywood:
I get a bad command or fil name. I tried it ever which way.


Hmmm, works great on my machine, maybe you should try it on a few more system files....
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #5 on: 26 January 2002, 10:16 »
Oh, I forgot to mention that it may give a "Bad command or filename" response, however it should still be doing it's job, keep trying more files...
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #6 on: 26 January 2002, 10:20 »
Oh, and in UNIX the command would be "strings filename".
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
file extensions
« Reply #7 on: 27 January 2002, 08:11 »
Hmm, haven't heard from Hollywood for a while, I hope he didn't take me seriously and try my "joke" suggestion.  If he did he's probably trying to figure out how to get his system running again.  If nothing else, it would certainly serve as a painful learning experience in the nonexistent system security in MS OSs if he really did do it. I feel bad now but I couldn't imagine that someone would... never mind, now that I think about it again...
Someone please remove this account. Thanks...

jtpenrod

  • VIP
  • Member
  • ***
  • Posts: 675
  • Kudos: 105
file extensions
« Reply #8 on: 28 January 2002, 01:42 »
quote:
Oh, and in UNIX the command would be "strings filename".


You should know better than that:

translate [language options] [FILE1...][FILE2...]

So what you'd do is this:

translate --english f SomeFile | less

That would send the translated version to the pager so you could see what it says. To learn more about it:

man translate

Geez, VoidMain, why don't you learn to RTFM?(!)  ;)

[ January 29, 2002: Message edited by: jtpenrod ]

Live Free or Die: Linux
If software can be free, why can't dolphins?

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
file extensions
« Reply #9 on: 28 January 2002, 16:56 »
this reminds me of that amusing format c: instruction from a month or 2 ago! Ho Ho Ho...
eradicate away!
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism