Batch+ Project

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Batch+ Project

#31 Post by orange_batch » 30 May 2011 12:43

nitt wrote:
orange_batch wrote:
nitt wrote: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?

I can't distribute my scripts being reliant on a non-native resource, especially when .NET is tedious to install and for unnecessary features.

nitt wrote:
Cleptography wrote:I would also like to see .net independent versions.
Good work nit I had a chance to check things out kudos.
:D


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.

Ok, thanks for your efforts though nitt.

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: Batch+ Project

#32 Post by nitt » 30 May 2011 12:46

orange_batch wrote:.NET is tedious to install


...-_-

You just click it and click install and wait. That's it.

orange_batch wrote:for unnecessary features


You know these are very useful features you just like to be a jerk.

Cleptography
Posts: 287
Joined: 16 Mar 2011 19:17
Location: scriptingpros.com
Contact:

Re: Batch+ Project

#33 Post by Cleptography » 30 May 2011 13:58

nitt wrote:You know these are very useful features you just like to be a jerk.

Who's being a jerk here, we are all friends.

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: Batch+ Project

#34 Post by nitt » 30 May 2011 14:03

Cleptography wrote:
nitt wrote:You know these are very useful features you just like to be a jerk.

Who's being a jerk here, we are all friends.


That guy he's saying these commands are useless when they obviously are extremely useful, just to be mean.

Can someone please suggest more commands?

And also if you want you can comment on COMWRITER, because that was an alternate project. And also make suggestions for that.

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Batch+ Project

#35 Post by orange_batch » 30 May 2011 14:06

Unnecessary doesn't mean useless, stop making mountains out of anthills and calling everybody who makes a technical comment a jerk. How many times did I have to ask you about .NET and get smartass responses the entire time?

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: Batch+ Project

#36 Post by nitt » 30 May 2011 14:13

orange_batch wrote:Unnecessary doesn't mean useless, stop making mountains out of anthills and calling everybody who makes a technical comment a jerk. How many times did I have to ask you about .NET and get smartass responses the entire time?


Unnecessary does mean useless. You are saying it's unneeded and if you don't need something it's practically worthless.
I don't get what you mean by that last sentence, but in the first the saying is "molehill".

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Batch+ Project

#37 Post by orange_batch » 30 May 2011 14:29

Commands like COLOR and your CURSOR aren't required in the execution of any batch file. That doesn't make them useless.

And you don't get what I mean? You could have just answered the question instead of asking "why" repeatedly and refusing to consider the suggestion/request.

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: Batch+ Project

#38 Post by nitt » 30 May 2011 15:15

orange_batch wrote:Commands like COLOR and your CURSOR aren't required in the execution of any batch file. That doesn't make them useless.

And you don't get what I mean? You could have just answered the question instead of asking "why" repeatedly and refusing to consider the suggestion/request.


I didn't make COLOR, that's built in to your computer. CURSOR is really useful. It allows you to hide/show the cursor and change it's position.

I didn't comment on your request because I didn't understand it. Can you please summarize it or something into one sentence? It's confusing to me.

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Batch+ Project

#39 Post by orange_batch » 30 May 2011 15:43

I'd just like your CURSOR utility, without requiring .NET.

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: Batch+ Project

#40 Post by nitt » 30 May 2011 15:53

orange_batch wrote:I'd just like your CURSOR utility, without requiring .NET.


Hmm... I don't know enough C++ for this. I don't know how to work with the cursor. Maybe when I figure something out I'll get back to you.

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Batch+ Project

#41 Post by Ed Dyreen » 30 May 2011 22:12

Maybe ansi is the solution for all who don't support .NET, but I can't be bothered right now.

I'm getting back to this.....

Cleptography
Posts: 287
Joined: 16 Mar 2011 19:17
Location: scriptingpros.com
Contact:

Re: Batch+ Project

#42 Post by Cleptography » 30 May 2011 22:45

Ed Dyreen wrote:.. but I can't be bothered right now.
I'm getting back to this.....

Is the cat hungry again?

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Batch+ Project

#43 Post by Ed Dyreen » 30 May 2011 22:46

Yeah good one :mrgreen:

Cleptography
Posts: 287
Joined: 16 Mar 2011 19:17
Location: scriptingpros.com
Contact:

Re: Batch+ Project

#44 Post by Cleptography » 30 May 2011 22:51

It's all in good fun. :D

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Batch+ Project

#45 Post by orange_batch » 31 May 2011 01:51

nitt wrote:
orange_batch wrote:I'd just like your CURSOR utility, without requiring .NET.


Hmm... I don't know enough C++ for this. I don't know how to work with the cursor. Maybe when I figure something out I'll get back to you.

Does any of the code in these two threads help?

http://www.daniweb.com/software-develop ... ads/204957

http://www.cplusplus.com/forum/beginner/1258/

I think specifically this at the bottom of the first link:

Code: Select all

    void SetPos(int x, int y) {
    static HANDLE hOut = GetStdHandle( STD_OUTPUT_HANDLE );
    COORD pos = {x, y};
    SetConsoleCursorPosition( hOut, pos );
    }

Or the code in that second link?...

Code: Select all

#include <iostream.h>
#include <stdlib.h>
#include <windows.h>

void curPos(int, int);

int main()
{
      system("CLS");
      curPos(10,10);
      cout << "10,10" << endl;
      system("PAUSE");
      return 0;
}

void curPos(int x, int y) {
  HANDLE hStdout;
  CONSOLE_SCREEN_BUFFER_INFO csbiInfo;
  hStdout=GetStdHandle(STD_OUTPUT_HANDLE);
  GetConsoleScreenBufferInfo(hStdout, &csbiInfo);
  csbiInfo.dwCursorPosition.X=x;
  csbiInfo.dwCursorPosition.Y=y;
  SetConsoleCursorPosition(hStdout, csbiInfo.dwCursorPosition);
}

Post Reply