Hacker News new | ask | show | jobs
by wavephorm 5235 days ago
I'm porting some of my software to Windows. I haven't used Windows in years. Doing things like opening a DOS console and typing "cd C:\" was like going back in time about 25 years. And then I had to create a Batch script using old BASIC style commands, using REM at the start of comments... It's like Windows is stuck in time, and Microsoft's primary way of making money is by keeping this crusty operating system running, and milking enterprise IT budgets as long as possible.
2 comments

If you're using XP or later then you shouldn't be using DOS batch files you should be using Powershell, which is what MS write all of their own CLI interfaces to work with.
You can run Cygwin on Windows. It'll be the same Windows we know <sarcasm>and love</sarcasm> but you'll have a familiar Unix-like environment you can use to do things like move files and automate tasks.

As AndrewDucker pointed out, you can also use PowerShell (I find it weird, but it's a major improvement over cmd.exe)