Search found 21 matches

by keyboard1333
25 May 2013 18:23
Forum: DOS Batch Forum
Topic: Alphabetically sort file
Replies: 2
Views: 2886

Re: Alphabetically sort file

Wow, so simple :p
Thanks heaps :)
by keyboard1333
24 May 2013 22:37
Forum: DOS Batch Forum
Topic: Alphabetically sort file
Replies: 2
Views: 2886

Alphabetically sort file

Hey all :)
I have a simple script that writes text to a file.
What I'd like to add, is the ability to sort each line of the file alphabetically.

So say I have

Code: Select all

alpha
charlie
bravo


the script would re-order it to

Code: Select all

alpha
bravo
charlie


Thanks!
keebs
by keyboard1333
05 Jan 2013 00:04
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Re: Writing an exe via batch

Skat, what're you compiling the .bat with?
And umm... what?
by keyboard1333
28 Dec 2012 01:44
Forum: DOS Batch Forum
Topic: Encrypting data for a batch file
Replies: 12
Views: 10733

Re: Encrypting data for a batch file

Yes, that's what I'm looking for :P
Encode... :D
Any tips on that?
by keyboard1333
26 Dec 2012 04:35
Forum: DOS Batch Forum
Topic: Encrypting data for a batch file
Replies: 12
Views: 10733

Re: Encrypting data for a batch file

It was more of a theory question than a practical problem. I have had experiences before we're I've needed to store data, but been unable as it would be accessable to anybody on can edit a file... Many software(s?), store their data in a way so that it is not easily editable from outside the applica...
by keyboard1333
26 Dec 2012 02:02
Forum: DOS Batch Forum
Topic: Encrypting data for a batch file
Replies: 12
Views: 10733

Re: Encrypting data for a batch file

Actually, I just thought of a better example -
The source of a .docx file is all gibberish?
How do they do that?

But thanks for your reply!!!
by keyboard1333
25 Dec 2012 19:49
Forum: DOS Batch Forum
Topic: Encrypting data for a batch file
Replies: 12
Views: 10733

Encrypting data for a batch file

Ok, I know that there is always someone out there who can crack any kind of encryption, but this is to stop your average user/small time power user. How can I encrypt a file, so that it's contents are not easily editable... E.g. You can't just go into an exe file and edit away. This is to store data...
by keyboard1333
25 Dec 2012 19:32
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Re: Writing an exe via batch

Thank you everyone so much for you input!
In the end, after fiddling with bhx, I programmed my own little hex converter in vb.net (hehe vb.net :D).
Thankyou again for all the help!!!
I couldn't've figured it out without you :)
by keyboard1333
22 Dec 2012 15:24
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Re: Writing an exe via batch

Thanks for that link!!!
I'm a bit busy at the moment, but I'll have a look at it later :)
Thanks again everyone for all your help!
keebs
by keyboard1333
21 Dec 2012 16:00
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Re: Writing an exe via batch

I was kind of hoping that someone could actually show me how to do it, not just use a tool...
I'm interested in how it works too :)
by keyboard1333
21 Dec 2012 03:55
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Re: Writing an exe via batch

Just one file, not using an archiving format...
All the files are around the 11 kb mark... But even so, I'd still like to try this :)
by keyboard1333
21 Dec 2012 01:58
Forum: DOS Batch Forum
Topic: Writing an exe via batch
Replies: 13
Views: 10120

Writing an exe via batch

Greetings all!
I have some exe files, and I'd like to make an installer for them, from batch. (Not from the language they're programmed in)
Can I write these exe's using batch somehow? (Instead of just packaging the exe's with the installer)
by keyboard1333
21 Dec 2012 01:12
Forum: DOS Batch Forum
Topic: Create Oulook E-mail from Batch File
Replies: 3
Views: 15367

Re: Create Oulook E-mail from Batch File

Just on the mailto format - You might be able to use html as the formatting. Try this -

Code: Select all

start "" "mailto:?subject=Test Email&body=This is some <b>test text.</b>" 
by keyboard1333
24 Aug 2012 17:34
Forum: DOS Batch Forum
Topic: Calling external file - cmd shuts
Replies: 16
Views: 10532

Re: Calling external file - cmd shuts

Thanks for all your help foxidrive! Another question - cls IF NOT "%~1"=="" ( set "gotit=" for /f "delims=" %%a in (Data\inventory.fldr) do if "%%a"=="%1" set item=%%a if defined %item% ( echo TRUE ) else ( echo FALSE ) pause ) else ( echo ...
by keyboard1333
24 Aug 2012 01:30
Forum: DOS Batch Forum
Topic: Calling external file - cmd shuts
Replies: 16
Views: 10532

Re: Calling external file - cmd shuts

Also - cls IF NOT "%~1"=="" ( set "gotit=" for /f "delims=" %%a in (Data\swap.fldr) do if "%%a"="armour" set gotit=1 if defined gotit echo you have the armour. pause ) else ( echo drop what? pause ) Even if I define a parameter, it still cl...