Monday, March 15, 2021
After 20+ years in IT .. I finally discovered this useful command
Very similar to my After 20+ years in IT .. I finally discovered this... post, I discovered yet another command I should have know about
Originally I was not going to write this post, but after I found out that several other people didn't know this, I figured what the heck, why not, maybe someone will think this is cool as well
Open up a command prompt or powershell command window, , navigate to a folder, type in tree... hit enter
Here is what I see
I was watching a Pluralsight course and the person typed in the tree command.. and I was like whoaaaa.. How do I not know this? Perhaps maybe because I don't use the command window all that much? Anyway I thought that this was pretty cool
As you can see tree list all the directories and sub directories in a tree like structure. This is great to quickly see all the directories in one shot
The same command will work in Powershell
Finally, here is an image of the command window output as well as the explorer navigation pane side by side
Hopefully this will be useful to someone
Monday, February 04, 2019
After 20+ years in IT .. I finally discovered this...
Last week I was on a remote session with 2 clients, each run the Advent program . The team I am part of provides a script to run the advent (APX or Axys) executable. This will then generate the portfolios, composites, price, security master, splits and other files. We then zip it up and sftp it over for ingestion so that we can run analytics and attribution
During these calls I interact with system administrators because usually the need to give permissions so that the script runs correctly
None of these admins knew that what I will show you existed. All the co-workers I asked didn't know this either (This could be because they are developers and not admins)
Back in the day (win 98 or perhaps NT 4), there was a windows powertool that you could install and if you right clicked on a folder you would get an option to open a command window and it would be in the path that you right clicked on
Those power tools don't exist anymore and you could do the same by hacking the registry, it's like a 16 step process
But there is a faster way.....
So what I usually did before 2 months ago is that I would select the path
And then I would open a command prompt, type CD and then paste the path...not too complicated
But here is the faster way.... instead of copying the path...just type in cmd in the address bar and hit enter
Boom shakalaka... a command prompt is opened immediately and you are in the same path
Did you know this also works when you type Powershell in the address bar, Eric Darling left me a comment on twitter informing me that it works with powershell as well
Here is what you see after typing it
So there you have it... hopefully it will save you some minutes of valuable time in a year
Also if you knew about this or did not know..leave a comment and let me know