Windows PowerShell is a great tool and, if you are using it frequently, one of the things you might want to do is to customize the default command prompt. This is actually a quite common activity among Linux users; hence, there are many tutorials on doing that as well. In case you want to do this kind of customization to Windows PowerShell, please follow the guidance below.
The text displayed as the prompt for each line in the PowerShell is defined with Prompt() function. You are free to override this function (hence, change the command prompt) the same way you can override any other function – by defining the function in the default user profile script. The profile scripts can be defined at one of the following locations: Continue reading
Couple of days ago I’ve decided to filter some of my music and upload it to my HTC HD2. I was using Windows Media Player (WMP) for that. I haven’t noticed that WMP converted all uploaded songs to WMA. Problem was that many of uploaded files were unable to play on my phone (neither by using HTC Player nor WMMP). I decided to upload all my favorite songs (ones I’ve already filtered before) one more time but this time directly to my MicroSD card as MP3. The worst thing was that I haven’t all my filtered songs (well just the ones in WMA and that’s not what I need). What makes it more complicated is that many of my songs ware stored as FLACs on my HDD, therefore I would need to convert them manually to. I couldn’t call myself an IT guy if I wouldn’t come up with idea to write a script to automatize entire process of filtering, converting and copying all songs I want to have on my phone to one place. Continue reading