Dicecaster Posted January 5, 2011 Author Share Posted January 5, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one.I would agree with you, but I don't know C#, Java, or any other equivalents. MS-DOS batch is simple, and I already have a good knowledge of how to use it. Plus, this way Windows users who don't feel comfortable downloading anything can just copy and paste the script as-is. However, if I really wanted to add functionality I might consider it, so thank you for the tip. I have Windows Vista, and what it has is a "Games" Windows Explorer window. With this script, you can add detailed descriptions, and even the "Genre" part is useful because not all games come with that information. Link to comment Share on other sites More sharing options...
martinthemage Posted January 5, 2011 Share Posted January 5, 2011 Nice idea :thumbsup: But I agree with The_Terminator, you could make a GUI in something like MS Visual Basic.Net (the language is very simple). I like making batch scripts, and it can be very satisfying having something work! (I have a lot of programming projects which I started and then abandoned because it would be too fiddly/time consuming). Link to comment Share on other sites More sharing options...
Dicecaster Posted January 5, 2011 Author Share Posted January 5, 2011 Nice idea :thumbsup: But I agree with The_Terminator, you could make a GUI in something like MS Visual Basic.Net (the language is very simple). I like making batch scripts, and it can be very satisfying having something work! (I have a lot of programming projects which I started and then abandoned because it would be too fiddly/time consuming).Alright, thanks. I'll look into that. Link to comment Share on other sites More sharing options...
JimboUK Posted January 5, 2011 Share Posted January 5, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one. You can add them manually by dragging the games executable into the game window. Link to comment Share on other sites More sharing options...
TheTerminator2004 Posted January 5, 2011 Share Posted January 5, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one. You can add them manually by dragging the games executable into the game window. Ah, I didn't know that. Still, it lacks the ability to add descriptions and fill in missing information yourself (though it does download cover art for most games off the net), so this batch script does still do some things the explorer doesn't. If people want, I could try and make something to do the job, with a GUI etc. Shouldn't take too long to make, it seems like a simple enough project. @martinthemage: Visual Basic would also be a good language to do it in, though I'm not a fan of it myself. VB, C#, and Java are all extremely similar; once you've learned one (not hard), you've pretty much learned all three. C# and VB.NET even use the same IDE. Link to comment Share on other sites More sharing options...
Dicecaster Posted January 5, 2011 Author Share Posted January 5, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one. You can add them manually by dragging the games executable into the game window. Ah, I didn't know that. Still, it lacks the ability to add descriptions and fill in missing information yourself (though it does download cover art for most games off the net), so this batch script does still do some things the explorer doesn't. If people want, I could try and make something to do the job, with a GUI etc. Shouldn't take too long to make, it seems like a simple enough project. @martinthemage: Visual Basic would also be a good language to do it in, though I'm not a fan of it myself. VB, C#, and Java are all extremely similar; once you've learned one (not hard), you've pretty much learned all three. C# and VB.NET even use the same IDE.See, when I started this topic I didn't at all expect these sorts of replies (though it's far from being a bad thing). Thank you (and everyone else) for posting all this useful information. Hey, if any of you happens to know, is there a website somewhere designed for people to post there batch scripts (for other people to copy and paste), and if so, where? Link to comment Share on other sites More sharing options...
martinthemage Posted January 6, 2011 Share Posted January 6, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one. You can add them manually by dragging the games executable into the game window. Ah, I didn't know that. Still, it lacks the ability to add descriptions and fill in missing information yourself (though it does download cover art for most games off the net), so this batch script does still do some things the explorer doesn't. If people want, I could try and make something to do the job, with a GUI etc. Shouldn't take too long to make, it seems like a simple enough project. @martinthemage: Visual Basic would also be a good language to do it in, though I'm not a fan of it myself. VB, C#, and Java are all extremely similar; once you've learned one (not hard), you've pretty much learned all three. C# and VB.NET even use the same IDE.See, when I started this topic I didn't at all expect these sorts of replies (though it's far from being a bad thing). Thank you (and everyone else) for posting all this useful information. Hey, if any of you happens to know, is there a website somewhere designed for people to post there batch scripts (for other people to copy and paste), and if so, where?If you just want plain text to C&V then you could just use Pastebin.com. Link to comment Share on other sites More sharing options...
Dicecaster Posted January 6, 2011 Author Share Posted January 6, 2011 You'd probably do better to use a more functional programming language for something like this. Using ancient MS-DOS batch scripts seems a little silly, and is a lot of extra effort for nothing. Try writing it in C# or Java - you can probably do the same kind of thing much better, in less lines of code, and can add in all kinds of extra functionality with ease. If you're using C# in Visual Studio, or Java in Netbeans IDE, you can do a GUI pretty quickly too. Windows Vista and 7 have a game explorer which does something very similar, but adds games automatically when they're installed. It does have a habit of not adding all games though, and theres no way to manually add them that I know of, so this could come in handy if it had equivalent functionality to the default windows one. You can add them manually by dragging the games executable into the game window. Ah, I didn't know that. Still, it lacks the ability to add descriptions and fill in missing information yourself (though it does download cover art for most games off the net), so this batch script does still do some things the explorer doesn't. If people want, I could try and make something to do the job, with a GUI etc. Shouldn't take too long to make, it seems like a simple enough project. @martinthemage: Visual Basic would also be a good language to do it in, though I'm not a fan of it myself. VB, C#, and Java are all extremely similar; once you've learned one (not hard), you've pretty much learned all three. C# and VB.NET even use the same IDE.See, when I started this topic I didn't at all expect these sorts of replies (though it's far from being a bad thing). Thank you (and everyone else) for posting all this useful information. Hey, if any of you happens to know, is there a website somewhere designed for people to post there batch scripts (for other people to copy and paste), and if so, where?If you just want plain text to C&V then you could just use Pastebin.com.Alright, thanks, I'll keep that in mind. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now