for %I in (.) do echo %~sI
Any simpler way?
More Related Contents:
- Batch file v PowerShell script
- Is there an equivalent of ‘which’ on the Windows command line?
- Single line with multiple commands using Windows batch file
- What encoding/code page is cmd.exe using?
- How to run .sh on Windows Command Prompt?
- Run cURL commands from Windows console
- How can I determine whether a specific file is open in Windows? [closed]
- Stop and Start a service via batch or cmd file?
- Show a popup/message box from a Windows batch file
- Create an empty file on the commandline in windows (like the linux touch command)
- Is there a better Windows Console Window? [closed]
- ‘chcp’ is not recognized as an internal or external command, operable program or batch file. on a Windows PC
- How to create Windows EventLog source from command line?
- How do I shutdown, restart, or log off Windows via a bat file?
- Command-line tool for finding out who is locking a file
- cURL POST command line on WINDOWS RESTful service
- Difference between $? and $LastExitCode in PowerShell
- How to I launch a ruby script from the command line by just its name?
- How to write a multiline command?
- Set window position of an application on Windows command line
- How to create a Run As Administrator shortcut using Powershell
- Windows shell command to get the full path to the current directory?
- Run a Command Prompt command from Desktop Shortcut
- Cannot run Maven using `mvn -D` argument within Microsoft Powershell, but works in Command Prompt
- Hide Command Window of .BAT file that Executes Another .EXE File
- How can I run Cygwin Bash Shell from within Emacs?
- How to detect if CMD is running as Administrator/has elevated privileges?
- How to start jenkins on different port rather than 8080 using command prompt in Windows?
- Difference between %variable% and !variable! in batch file
- Start/Stop and Restart Jenkins service on Windows