PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Windows 7 Forum (http://www.pcbanter.net/forumdisplay.php?f=48)
-   -   How to Edit an xml file (http://www.pcbanter.net/showthread.php?t=1087673)

Dave C[_2_] May 13th 13 07:30 PM

How to Edit an xml file
 
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave

Bert[_3_] May 13th 13 07:51 PM

How to Edit an xml file
 
In Dave C
wrote:

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.


An XML file is simply an ordinary text file with a peculiar structure,
so any ordinary text editor will do, so long as you understand and don't
destroy the XML strucure while editing it.

--
St. Paul, MN

Alias[_43_] May 13th 13 07:59 PM

How to Edit an xml file
 
On 5/13/2013 8:51 PM, Bert wrote:
In Dave C
wrote:

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.


An XML file is simply an ordinary text file with a peculiar structure,
so any ordinary text editor will do, so long as you understand and don't
destroy the XML strucure while editing it.


Which provokes the suggestion to back it up before messing with it.

--
Alias

Gene E. Bloch[_2_] May 13th 13 08:03 PM

How to Edit an xml file
 
On Mon, 13 May 2013 14:30:43 -0400, Dave C wrote:

I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


There are free xml editors available that structure the file display for
you, or you can just use a text editor, as Bert suggests.

I was gong to link you to XML Notepad, but when I try to look for a link
in its Help-About, it crashes :-)

This is where a different part of the Help menu takes me:
http://msdn.microsoft.com/en-US/data/bb190600.aspx

I give up. Just Google for XML editors or use your text editor.

--
Gene E. Bloch (Stumbling Bloch)

Zaphod Beeblebrox May 13th 13 08:03 PM

How to Edit an xml file
 
On Mon, 13 May 2013 14:30:43 -0400, "Dave C" wrote in article
...

I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


As I understand it, Free Cell stats are stored in:

C:\Users\your user name\Appdata\Local\Microsoft Games\Freecell\Freecellsettings.xml

To edit it, all you need is notepad or any other text editor.
Then, find the appropriate entry and modify it, then save.

--
Zaphod

Vell, Zaphod's just zis guy, ya know? - Gag Halfrunt

Gene E. Bloch[_2_] May 13th 13 08:08 PM

How to Edit an xml file
 
On Mon, 13 May 2013 12:03:16 -0700, Gene E. Bloch wrote:

On Mon, 13 May 2013 14:30:43 -0400, Dave C wrote:

I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


There are free xml editors available that structure the file display for
you, or you can just use a text editor, as Bert suggests.

I was gong to link you to XML Notepad, but when I try to look for a link
in its Help-About, it crashes :-)

This is where a different part of the Help menu takes me:
http://msdn.microsoft.com/en-US/data/bb190600.aspx

I give up. Just Google for XML editors or use your text editor.


I looked on the above (not very) user-friendly page and got this:
http://www.microsoft.com/en-us/downl...s.aspx?id=7973

I also have XML Explorer, which I can't fathom, so I can't recommend it.

The MS program works if you don't try Help-About :-)

--
Gene E. Bloch (Stumbling Bloch)

SC Tom[_3_] May 14th 13 01:28 PM

How to Edit an xml file
 
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


If you successfully open, edit, and save a working copy of this file, let me
know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++, Word, etc., and
have yet to see one recognizable character in any of the MS Games XML files.
I've never much thought about it before, but your post piqued my curiosity,
just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak after
an early loss (played on break and at lunchtime only wink wink nudge
nudge ), but not near what you have.
--
SC Tom



Paul May 14th 13 02:29 PM

How to Edit an xml file
 
SC Tom wrote:
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


If you successfully open, edit, and save a working copy of this file,
let me know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++,
Word, etc., and have yet to see one recognizable character in any of the
MS Games XML files. I've never much thought about it before, but your
post piqued my curiosity, just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak
after an early loss (played on break and at lunchtime only wink wink
nudge nudge ), but not near what you have.


There's a little comedy here. While it is possible to use
encryption on XML, apparently in one case, it was just
BASE64 encoding.

http://thedailywtf.com/Articles/Encrypted-XML.aspx

Paul

SC Tom[_3_] May 14th 13 05:58 PM

How to Edit an xml file
 


"Paul" wrote in message
...
SC Tom wrote:
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave


If you successfully open, edit, and save a working copy of this file, let
me know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++, Word,
etc., and have yet to see one recognizable character in any of the MS
Games XML files. I've never much thought about it before, but your post
piqued my curiosity, just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak
after an early loss (played on break and at lunchtime only wink wink
nudge nudge ), but not near what you have.


There's a little comedy here. While it is possible to use
encryption on XML, apparently in one case, it was just
BASE64 encoding.

http://thedailywtf.com/Articles/Encrypted-XML.aspx

Paul


I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space character
among the padding characters."

Maybe that's not it :-)
--
SC Tom



Mike Barnes[_2_] May 14th 13 06:58 PM

How to Edit an xml file
 
SC Tom :
I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space
character among the padding characters."


Doncha just *love* that sort of error message? Would it be so hard to
say which of those three problems it is?

--
Mike Barnes

Gene E. Bloch[_2_] May 14th 13 07:07 PM

How to Edit an xml file
 
On Tue, 14 May 2013 12:58:21 -0400, SC Tom wrote:

"Paul" wrote in message
...
SC Tom wrote:
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave

If you successfully open, edit, and save a working copy of this file, let
me know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++, Word,
etc., and have yet to see one recognizable character in any of the MS
Games XML files. I've never much thought about it before, but your post
piqued my curiosity, just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak
after an early loss (played on break and at lunchtime only wink wink
nudge nudge ), but not near what you have.


There's a little comedy here. While it is possible to use
encryption on XML, apparently in one case, it was just
BASE64 encoding.

http://thedailywtf.com/Articles/Encrypted-XML.aspx

Paul


I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space character
among the padding characters."

Maybe that's not it :-)


OK, try ROT13 next.

:-)

--
Gene E. Bloch (Stumbling Bloch)

Gene E. Bloch[_2_] May 14th 13 07:08 PM

How to Edit an xml file
 
On Tue, 14 May 2013 18:58:19 +0100, Mike Barnes wrote:

SC Tom :
I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space
character among the padding characters."


Doncha just *love* that sort of error message? Would it be so hard to
say which of those three problems it is?


One could argue that it's better than *no* list of possible errors :-)

--
Gene E. Bloch (Stumbling Bloch)

SC Tom[_3_] May 14th 13 07:34 PM

How to Edit an xml file
 
"Gene E. Bloch" wrote in message
...
On Tue, 14 May 2013 12:58:21 -0400, SC Tom wrote:

"Paul" wrote in message
...
SC Tom wrote:
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave

If you successfully open, edit, and save a working copy of this file,
let
me know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++, Word,
etc., and have yet to see one recognizable character in any of the MS
Games XML files. I've never much thought about it before, but your post
piqued my curiosity, just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak
after an early loss (played on break and at lunchtime only wink wink
nudge nudge ), but not near what you have.

There's a little comedy here. While it is possible to use
encryption on XML, apparently in one case, it was just
BASE64 encoding.

http://thedailywtf.com/Articles/Encrypted-XML.aspx

Paul


I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space
character
among the padding characters."

Maybe that's not it :-)


OK, try ROT13 next.

:-)


Nah, that ain't it :-)

Here's a sample of it from Notepad:

"A˱?cWM("f%Lef2 #LZ'`szV"-L.&iX
FNrpHV?f';& ' H\`m%
.J,S8W#~ft'EWQT.ONz6 3C?PHLJs&*AT:(ZjF2~F2'?&H+0y kt S*d?^C,G,AsQFkM!OU$PNY^^s FLzlݯq?,{!"3P"
~hOT4?-^""!,dc@f}@3T.X-9=~)Q?#ZMDm2.ɩG?B^o"d29'enT~k ?SC5:H'Y*p._b-sF''$
Rs"Z1}Op "D":NI[!ps,-ER,-XOPT=mP89T"իW?KToT*Q0
Bkkk .@Y_ҝ\%@\:H&4rSF (-e
4Gt?jY'/0X*"uY?'Y RжX,R?r]]sh*5 ?doq BQ
X'\I+Z"joo!"}@4j:::čm ? q Zp3`),+~i.H+Á$&,Q+T!R+czj?ӡO%l ?ad"quvvҐ*6\&o^]HĤ!t\sSDF
Pf?,^
䏩,~Up
"}O?gMCoJ3'ToHGrn^b+y?
T7B*zYQE"gr"*î

I think it's Greek. Or, at least, it's Greek to me :-)
--
SC Tom



Paul May 14th 13 07:57 PM

How to Edit an xml file
 
SC Tom wrote:
"Gene E. Bloch" wrote in message
...
On Tue, 14 May 2013 12:58:21 -0400, SC Tom wrote:

"Paul" wrote in message
...
SC Tom wrote:
"Dave C" wrote in message
...
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently
accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed
here,
I am most annoyed at myself. I sure would appreciate any/all
advice on
how to edit that file.

dave

If you successfully open, edit, and save a working copy of this
file, let
me know. I've tried XML Notepad 2007, FOXE, Notepad, Notepad++, Word,
etc., and have yet to see one recognizable character in any of the MS
Games XML files. I've never much thought about it before, but your
post
piqued my curiosity, just to see what's in it.

Impressive streak :-) When I was working, I had a 2000+ winning streak
after an early loss (played on break and at lunchtime only wink wink
nudge nudge ), but not near what you have.

There's a little comedy here. While it is possible to use
encryption on XML, apparently in one case, it was just
BASE64 encoding.

http://thedailywtf.com/Articles/Encrypted-XML.aspx

Paul

I tried an on-line decoder and got this error:

"The input is not a valid Base-64 string as it contains a non-base 64
character, more than two padding characters, or a non-white space
character
among the padding characters."

Maybe that's not it :-)


OK, try ROT13 next.

:-)


Nah, that ain't it :-)

Here's a sample of it from Notepad:

"A˱?cWM("f%Lef2 #LZ'`szV"-L.&iX
FNrpHV?f';& ' H\`m%
.J,S8W#~ft'EWQT.ONz6
3C?PHLJs&*AT:(ZjF2~F2'?&H+0y kt S*d?^C,G,AsQFkM!OU$PNY^^s FLzlݯq?,{!"3P"
~hOT4?-^""!,dc@f}@3T.X-9=~)Q?#ZMDm2.ɩG?B^o"d29'enT~k ?SC5:H'Y*p._b-sF''$

Rs"Z1}Op "D":NI[!ps,-ER,-XOPT=mP89T"իW?KToT*Q0

Bkkk .@Y_ҝ\%@\:H&4rSF (-e
4Gt?jY'/0X*"uY?'Y RжX,R?r]]sh*5
?doq BQ X'\I+Z"joo!"}@4j:::čm ? q
Zp3`),+~i.H+Á$&,Q+T!R+czj?ӡO%l ?ad"quvvҐ*6\&o^]HĤ!t\sSDF

Pf?,^
䏩,~Up
"}O?gMCoJ3'ToHGrn^b+y?
T7B*zYQE"gr"*î

I think it's Greek. Or, at least, it's Greek to me :-)


Well, maybe it's a heavy weight flavor.

"How to: Encrypt XML Elements with Asymmetric Keys"

http://msdn.microsoft.com/en-us/library/ms229746.aspx

At least they've thought about ways to hide stuff.

I don't think it's ASCII85. The alphabet looks too rich.

Paul

Stan Brown May 15th 13 03:37 AM

How to Edit an xml file
 
On Mon, 13 May 2013 14:30:43 -0400, Dave C wrote:

I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.


Any text editor. Even Notepad should be able to do the job.

Don't double-click the file. Open your editor of choice, and do
File* Open in the editor menu, or drag the file into the editor's
client area.


--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...


All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters