Batch+ Project
Moderator: DosItHelp
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: Batch+ Project
Nerd wars.
I love the idea behind Powershell, but I don't quite understand how to code in it. I would learn, but it's not natively part of Windows XP or Vista, so not for my purposes at the moment.
Given that, I wonder if it's not better to learn AutoIt instead?
I love the idea behind Powershell, but I don't quite understand how to code in it. I would learn, but it's not natively part of Windows XP or Vista, so not for my purposes at the moment.
Given that, I wonder if it's not better to learn AutoIt instead?
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: Batch+ Project
I love autoit though a completely different kind of language built around gui apps, autoit is a fantastic wonderful thing.
Re: Batch+ Project
@orange_batch
AutoIT ROCKS
It is definetly powerfull, I wonder what we can't do in AutoIT, apart from programming linux fcourse. However it is not qualified as a real programming language simply because it does many things without the programmers specific permission.
AutoIT programmers very well know the Au3 Icon inside the taskbar. But that's not a prob.
AutoIT should be one of the easiest to learn it uses BASIC like syntax, which is me favorite
What am I saying, it sucks ! We need to stick with DOS batch for XP
Given that, I wonder if it's not better to learn AutoIt instead?
AutoIT ROCKS
It is definetly powerfull, I wonder what we can't do in AutoIT, apart from programming linux fcourse. However it is not qualified as a real programming language simply because it does many things without the programmers specific permission.
AutoIT programmers very well know the Au3 Icon inside the taskbar. But that's not a prob.
AutoIT should be one of the easiest to learn it uses BASIC like syntax, which is me favorite
Code: Select all
While 1 < 0
Select
Case 0 > 1
endselect
Wend
What am I saying, it sucks ! We need to stick with DOS batch for XP
Last edited by Ed Dyreen on 30 May 2011 02:16, edited 1 time in total.
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: Batch+ Project
Autoit is a very powerful tool I have used it many of times but my understanding of the language is at a beginner level at best, as I have not gone into depth with it. c++ and c# have always been my tools of choice. As a side note if anyone is interested in learning more on powershell, and not trying to preach to the choir by any means, but I found this to a be a very helpful resource http://powershell.com/cs/blogs/ebook/
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: Batch+ Project
Well, off-topic.
nitt, it turns out CURSOR does exactly what I need! So please, once again is it possible to program it to work without .NET? Thanks.
nitt, it turns out CURSOR does exactly what I need! So please, once again is it possible to program it to work without .NET? Thanks.
Re: Batch+ Project
@orange_batch
It does not have cursor, but it has color though Bill Stewart's Site - Shell Scripting Toolkit:
http://www.westmesatech.com/sst.html
I am looking for the exact same thing, it should be possible though with C, but I don't have the skills
It definetly can be done with ansi.sys, it comes with XP, I just never tried it. Also I don't know whether it's for command or cmd.
↓↓↓ cause it's more than 3 clicks away
It does not have cursor, but it has color though Bill Stewart's Site - Shell Scripting Toolkit:
http://www.westmesatech.com/sst.html
I am looking for the exact same thing, it should be possible though with C, but I don't have the skills
It definetly can be done with ansi.sys, it comes with XP, I just never tried it. Also I don't know whether it's for command or cmd.
↓↓↓ cause it's more than 3 clicks away
Last edited by Ed Dyreen on 30 May 2011 08:48, edited 5 times in total.
Re: Batch+ Project
Why is it so hard to download .NET framework?
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: Batch+ Project
Distributability.
Re: Batch+ Project
orange_batch wrote:Distributability.
Batch has low distributability anyways.
Anyways, I updated the List with COMWRITER and DOWNLOAD. COMWRITER I wrote in C++ so it doesn't use .NET framework.
DOWNLOAD is used basically to download things from the internet.
Like "download http://www.urwebsite.com/urfile.txt c:\users\user\desktop\file.txt" will download the file onto the desktop. It can download any file, not just TXT.
COMWRITER is not part of Batch+. But I just thought it was cool. It's its own project by itself.
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: Batch+ Project
nitt wrote:DOWNLOAD is used basically to download things from the internet.
Yes like this one line of autoit which will do the same thing.
Code: Select all
InetGet($CmdLine[1], @ScriptDir & "\..\" & $CmdLine[2])
Except it just moves back a dir in my case, but I could stick it on my desktop
c:\users\user\desktop\
yawwwwn....
Re: Batch+ Project
Cleptography wrote:nitt wrote:DOWNLOAD is used basically to download things from the internet.
Yes like this one line of autoit which will do the same thing.Code: Select all
InetGet($CmdLine[1], @ScriptDir & "\..\" & $CmdLine[2])
Except it just moves back a dir in my case, but I could stick it on my desktop
c:\users\user\desktop\
yawwwwn....
...It does this and what? I don't get your point.
I just added LINECOLOR. It changes the color of the line your are one and further typed lines without effecting any of the other ones. There are plenty of these, but I just thought it'd be neat.
Anyone have any more requests?
Code: Select all
@echo off
:start
:getrandom
set rnd=%random%
if %rnd% GTR 9 goto getrandom
if %rnd% LSS 0 goto getrandom
linecolor %rnd% %rnd%
echo
goto start
Last edited by nitt on 30 May 2011 12:35, edited 1 time in total.
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: Batch+ Project
nitt wrote:orange_batch wrote:Distributability.
Batch has low distributability anyways.
Is that a "no" to making non-.NET versions then? That's all I ask, because I honestly cannot use these as is.
Re: Batch+ Project
orange_batch wrote:nitt wrote:orange_batch wrote:Distributability.
Batch has low distributability anyways.
Is that a "no" to making non-.NET versions then? That's all I ask, because I honestly cannot use these as is.
Why?
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: Batch+ Project
I would also like to see .net independent versions.
Good work nit I had a chance to check things out kudos.
Good work nit I had a chance to check things out kudos.
Re: Batch+ Project
Cleptography wrote:I would also like to see .net independent versions.
Good work nit I had a chance to check things out kudos.
Thanks, but there are no .NET independent versions because I coded them in C#.NET and you can't turn the framework off.
All of them use .NET except COMWRITER because COMWRITER isn't part of Batch+. I wrote that in C++ when I was bored one day.