Gadrin

Show:

What's happening?

  • Followup: RE: Question About Aborted Zips

    What would the temp files be called (either extension or other param I can search on) ? The .bat file did CD into about 100 folders to pickoff and zip my .pdf files I had scattered about. So I'm assuming the working directory changed to each one the CD command worked with. However when it encountered the & symbol it went off into a subdir within the folder where I called the .bat...

    2009-10-01 18:37:55 UTC in 7-Zip

  • Question About Aborted Zips

    Great product BTW ! I just had to abort a zip in progress using a .BAT file (I had a & character in the zip file name and the filename wasn't quoted) and 7ZIP went off into a folder I wasn't using and trying to compress several 1000 files. I caught it and aborted and fixed the .BAT file. Will there be any repercussions from the abort ? Any files or partial files I need to hunt down...

    2009-09-30 22:45:20 UTC in 7-Zip

  • Followup: RE: Replace text: use file name as replacement

    Sounds like a job for a scripting language like VBScript. VBScript can get a list of files in a folder, and loop thru them, open each file and replace text and re-save the file.

    2009-08-20 13:32:27 UTC in Notepad++

  • Followup: RE: Changes are not saved by using xmlstarlet

    I don't think XMLStarlet supports "editing in place" meaning that the XML that shows up onscreen to the STDinput doesn't go anywhere. YOu have to redirect it to a file. If you're on windows try... xml.exe ed -u "/Deployment/Properties/Property[@name='INSTALLDIR']" -v "D:\ADOBE" install.xml > newinstall.xml and open newinstall.xml and see if it's...

    2009-04-14 14:09:18 UTC in XMLStarlet command line XML toolkit

  • Followup: RE: Is it possible to open a second instance?

    Try this: go to START --> RUN type in %userprofile%\SendTo and hit ENTER Create a shortcut to Notepad++ exe. Then right click on the icon and hit PROPERTIES Change the TARGET to add in the -multiInst and hit APPLY Rename the Shortcut to NewNotepad++ or something. then try using Explorer, right click and SendTo and see if that works. >.

    2009-04-14 01:50:43 UTC in Notepad++

  • Followup: RE: Problem by update a element value

    So the XPath is like saying: Find all BorlandProject nodes in the ii namespace, then under those nodes find all VersionInfo nodes that have no namespace. >.

    2009-04-14 01:42:48 UTC in XMLStarlet command line XML toolkit

  • Followup: RE: Problem by update a element value

    no it's two // for each... -u "//ii:BorlandProject//VersionInfo[@Name='MajorVer']" From the MSXML SDK: Recursive descent An expression that uses the double forward slash (//) indicates a search that can include zero or more levels of hierarchy. When this operator appears at the beginning of the pattern, the context is relative to the root of the document. For example...

    2009-04-14 01:41:12 UTC in XMLStarlet command line XML toolkit

  • Followup: RE: Problem by update a element value

    Use the namespace on the BorlandProject (which is the parentnode to the VersionInfo nodes) then no namespace on the childNodes under that one... xml ed -N ii="http://schemas.microsoft.com/developer/msbuild/2003" -u "//ii:BorlandProject//VersionInfo[@Name='MajorVer']" -v "77" namespace.xml > ns.xml Gives me in ns.xml... <VersionInfo>.

    2009-04-06 23:37:32 UTC in XMLStarlet command line XML toolkit

  • Followup: RE: apple plist editing possible?

    You can edit nodes by their ordinal position so: xml ed -u "//string[1]" -v "Steven Jobs" -u "//string[2]" -v "Apple Computers" -u "//string[3]" -v "777-7777-777" plist.xml > plist-2.xml Plist-2.xml looks like: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple...

    2009-04-06 23:04:58 UTC in XMLStarlet command line XML toolkit

  • Followup: RE: Delete node with certain value help.

    Try xml ed -d "//genre[.='Angel']" movies.xml > movies-edited.xml then look at the movies-edited.xml >.

    2009-04-06 22:57:37 UTC in XMLStarlet command line XML toolkit

About Me

  • 2005-04-16 (5 years ago)
  • 1260814
  • gadrin (My Site)
  • Gadrin

Send me a message