Is it possible to edit file details of multiple files at once? (Windows 7) - windows

I'm wondering if it's possible to change the file details, in this case of music files (Title, Artists, Track #, etc) of more than one file at once, or in rapid succession with a batch file or command of some kind, instead of changing each individually through the properties window.

Try Mp3tag you can do all kinds on activity you have mentioned..
Its Portable too..!

Had the same problem and found a helpful website:
http://www.howtogeek.com/111859/how-to-batch-rename-files-in-windows-4-ways-to-rename-multiple-files/
Most flexible way is via command prompt and a command similar to this:
ren *.html *.txt

Related

Utilizing custom environment paths from other programs with batch file proccesing

I have visited StackOverflow thousands of times and it's always incredibly useful. This will be my first question on this site, after spending the entire day attempting to solve a problem.
Long story short, I use a program who's configuration settings allow for custom user programs to be executed with a button click on the main GUI. Alongside this is an input for a cmd line option. You can see the config in this image.
Configuration Settings Window
So I have created a script to execute and have been trying with no success for the entire day. I don't imagine I have to explain what it's like to keep changing small details and even starting over again a dozen times. Basically, when you highlight an order in the program, I want to move any (*.stl) files from the orders folder. The .bat file converted to exe i tried dozens and dozens of similar scripts like the code below. I have a .bat and a .exe that work fine when I am moving a file from my own directories. But now with this very new to me, environment variable. No matter how I format it, it doesn't work. In the beginning it was always exit code 255. But now I get exit codes 0, 1, but no file copy. I have made progress and but decided I need to ask for help.
Thank you in advance.
edit: enter image description here
for /r %ORDER_FOLDER% %f in (*.stl*) do #copy %f C:\Users\Lap2\Desktop\test_dir

How do I make sense of a batch file?

I have no prior experience working with batch files or shell scripting in general. I need to understand the operations being carried out by a batch file used in a related project. Any resource that gives exhaustive list of batch file commands and what each one does?
Once you get acquainted with the general .BAT file information, using some of the pointers to useful information that other users have posted in the other answers, you might try some of the following strategies that help you understand and analyze the BAT files used int your projects:
add an ECHO command in front of all command invocations
read HELP command for each command line in the BAT file
execute at the command prompt each command line in the BAT file
remove the #echo off at the top of the .BAT file, and see how the BAT progresses
add some PAUSEs to keep viewing some commands on screen before they disappear.
There are some useful answers here in this Stack Overflow question: Best free resource for learning advanced batch-file usage?
As well there are quite a few resources available through google search for Batch file resources, as well as the Wikipedia entry http://en.wikipedia.org/wiki/Batch_files
That should get you started at least.
A little search on google should give a lot of tutorials and websites with information on writing them for both Windows and Linux.
Maybe you should start from the beginning though.
http://ss64.com/nt/
http://academic.evergreen.edu/projects/biophysics/technotes/program/batch.htm
http://www.robvanderwoude.com/batchcommands.php
http://en.wikipedia.org/wiki/List_of_MS-DOS_commands
They're just a few examples i found with a little google search. You should search it and find something thats better for you.
Hope this helps.

Filter a text file into a new text file

Sorry about the dummy question here.
Under Windows I would like to be able to filter one .txt file into a new one. Filtering all lines that contain a specific string.
I know this could well be a really easy one, but would really appreciate a few pointers please.
Use the findstr command:
findstr my-string filename > new-file
findstr /? will give you a usage message telling you how to use findstr (including the /V switch if you wanted to filter lines out rather than filtering them in.)
Or if you're familiar with grep and wishing you had it on Windows, install Cygwin. :-)
Powershell has some neat string comparison features. You can pipe the output to a new file.
^^ There are some better links as to how to use Powershell - but I can't find them this minute. If you go the Powershell route there are lots of examples on the internet.
Visual Studio Add On Text Power Tools contains a very powerful filter feature.
The one issue is the Visual Studio add-ons have a file size limit (this may be resolved by the time you read this). Visual Studio may open a large file that is not the issue, the issue is add-ons are restricted to a file size limit.
There's a logfile filtering utility Logfilter (www.casstor.com), that can easily do this. You can define multiple filter strings as well as use regular expressions in your filters. I think it might be what you're looking for.

Teamsite Folder

Is there a command-line utility to create folders/sub-folders inside a workarea in Teamsite?
I went through a list, and all it seems to contain were those concerning creation/modification of groups/branches and related permissions.
the folders and files are standard system files and folders, so you use standard command line tools (CLTs) to do what you want.
for example in windows, you'd use DOS command 'mkdir ' to create a folder.
Yes, there should be a command by which we can create files and folders inside a Workarea.
Since, to some extent Branches, Workareas etc are customizable and can be created through command-line tool (CLT) instead of TeamSite UI. Even through command line tool we can easily fetch number of branches, workareas etc present in a particular branch. You can refer to "WebContentManagement_CommandLineTools_en.pdf" for the same and check inside workarea section the list of commands.
Please vote the solution if its helpful. Thanks!

How do I save my command snippets for quick access from the commandline?

I have a huge file with all the commands I use on and off the commandline. This file is getting harder to open and navigate as its size gets larger. I am looking for a commandline utility that makes this process easier. I found this gem, which does something similar to what I want, but it's terrible with long lines of code with multiple quotation marks.
What does everyone use to keep your code snippets and easily access it from your terminal?
I keep a similar file myself. This example isn't directly useful with your file. However when I find that I need to run a particular command I recently used, without looking it up again, I run a grep on history.
For example:
history | grep "svn co"
You may try Komandi, a multiplatform command snippets manager.

Resources