Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Catch All
Goto page Previous  1, 2, 3 ... , 74, 75, 76  Next
 
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp help and support
View previous topic :: View next topic  
Author Message
mayayana
Guest





PostPosted: Sat Dec 22, 2007 12:25 am    Post subject: Re: What is the easiest way to convert unix/linux text files Reply with quote

I have a VBScript file that I leave on my Desktop.
Unix has one variation. Some Windows files (like
Word docs) have another variation. The standard in
Windows is to end the line with ASCII characters
13-10. (Carriage return - line feed)

If you paste the following text to Notepad and save
it as a .vbs file, you can just drop any file onto it and
have it fixed. (Note that in some cases on XP you
may need to adjust security to run a .vbs file.)

'---------------- start text of vbs file ------------

Dim fso, ts, s, arg, fil, fpath, s1
Set fso = CreateObject("Scripting.FileSystemObject")
arg = WScript.arguments.item(0)
Set ts = fso.OpenTextFile(arg, 1, False)
s = ts.ReadAll
ts.Close
Set ts = Nothing

s1 = Replace(s, vbCrLf, vbCr, 1, -1, 0)
s1 = Replace(s1, vbLf, vbCr, 1, -1, 0)
s1 = Replace(s1, vbCr, vbCrLf, 1, -1, 0)

Set ts = fso.CreateTextFile(arg, True)
ts.Write s1
ts.Close
Set ts = Nothing
Set fso = Nothing
MsgBox "All done", 64, "File fixed"

' -------- end vbs file ---------------

Another variation, if you want to save the edited text
to a different file, replace the line:

Set ts = fso.CreateTextFile(arg, True)

with:

Set ts = fso.CreateTextFile(arg & ".txt", True)





Quote:
As well known the line endings/carriage returns in text files under
Unix/linux differ from
those under DOS/WinXP.

Assume I got a text file with unix style line feeds.
What is the easiest way to convert all line endings to WinXP style ?

Eugen
Back to top
Google
Sponsor





PostPosted: Sat Dec 22, 2007 12:25 am    Post subject: Advertisement

Back to top
Mark Pryor
Guest





PostPosted: Sat Dec 22, 2007 12:27 am    Post subject: Re: What is the easiest way to convert unix/linux text files Reply with quote

On Fri, 21 Dec 2007 16:18:19 +0000, Eugen Austermann wrote:

Quote:
As well known the line endings/carriage returns in text files under
Unix/linux differ from those under DOS/WinXP.

Assume I got a text file with unix style line feeds. What is the easiest
way to convert all line endings to WinXP style ?


Eugen,

after a quick search for Unix2Dos, I found a utility here
http://www.bastet.com/

If you are going back and forth from Unix to Windows, checkout Unix
utilities for Windows

http://unxutils.sourceforge.net/

--
Mark
Back to top
47_oldtimer
Guest





PostPosted: Sat Dec 22, 2007 12:44 am    Post subject: Re: Cannot Manually register .dll or .ocx files Reply with quote

Hi,

"dependent" is the key to success.

U can register dll-s or ocx-es only, if another file (correct/latest
version)
is already present / registered.

Here a sample:

OS=WIN98SE ... I know it's old, but good for this sample ...

For finding out what a kind of version of XML parser is installed on
the PC, according to MS kb278674, U have to install

xmlversion.exe or
xmlversiontext.exe

U have to extract one of the exe-s, let's say to C:\TEMP by starting
one of these exe-files.

Now U will find next to other files, the file

XMLVersiontext.ocx

I did it with "xmlversiontext.exe" because MS had mentioned somewere
if the machine(PC) had never before done anything with XML there
could be the chance that "xmlversion.exe" and the later test would
be fail.

Now I progressed with the registration process ...

Start | run| regsvr32 [blank] C:\temp\xmlversiontext.ocx

Start that ...

Now there is a message ...

LoadLibrary("C:\temp\xmlversiontext.ocx") failed
GetLastError returns 0x00000485

Now put that 0x00000485 in Google search
(http://www.google.com/intl/en/)

and U will get a lot of answers ...

One of these answers helped me ...

forum.doom9.org/archive/index.php/index.php/t-70118.html

There was mentioned something about vbrun etc.

Now since I know, I never had put in vbrun, I crawled
through my SW collection and found

vbrun60sp5.exe

Ok opened it with an unzipper, writing down the content
of it, with recording of the version numbers of those files
contained in "vbrun60sp5.exe"

So, I found out, on the machine a file "msvbvm60.dll"
was missing.

Ok, now started that exe to install its content.

Great, now "msvbvm60.dll" Version 6.00.8964 is on the machine

RESTART the machine

Another registering try of "xmlversiontext.ocx"

... and SUCCESS

Message:
"DllRegisterServer in C:\temp\xmlversiontext.ocx succeeded"

GREAT

Problem solved

NB: I upgraded my runtime with "vbrun60sp6.exe" for to be uptodate.

During all those searches I found out there is a nice programm called

"PROZESS-EXPLORER"

Links to 'em U will find at MS kb296647

http://support.microsoft.com/kb/296647/en-us
http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
http://technet.microsoft.com/de-de/sysinternals/bb896653(en-us).aspx
http://download.sysinternals.com/Files/ProcessExplorer.zip

Now with that fine tool U could see all the dependencies.

To return to Scott's story/problem ...

At one of those PCs he mentioned, a certain file was installed
at the other not ...

And to find out which one is not installed U could use

PROZESS-EXPLORER


That' s all folks
.. have fun ...

Regards
Hardy
MUC-Germany


--
47_oldtimer
------------------------------------------------------------------------
47_oldtimer's Profile: http://forums.techarena.in/member.php?userid=37769
View this thread: http://forums.techarena.in/showthread.php?t=16513

http://forums.techarena.in
Back to top
DL
Guest





PostPosted: Sat Dec 22, 2007 12:57 am    Post subject: Re: Lost Drivers On Reinstall Reply with quote

OK apologies for the terse response;
Time / Tiny were reformed after the origonal companies went into
liquidation, from various google reading it would appear they have offloaded
all support to a seperate 'pay for it' Company. It would appear you would
have to pay £60 for disks, or any other support.
An option might be to try Belaric Advisor to see if it can identify the
motherboard on your system, as I assume the ethernet controler is on the
mobo, then visit their site for the driver.
Otherwise buy an ethernet card, less than £10 and disable, in the bios the
onboard ethernet, if you cannot, disable it in Device Manager


"Shadow" <Shadow@discussions.microsoft.com> wrote in message
news:99168895-8D99-4F55-93AF-E4EEF1B1452D@microsoft.com...
Quote:
have bothered going to the site, but they dont have downloads for these
things, I only see computers to buy, its no good to me if I can't find
their
download page for these things i'm looking for. Time Computers only have a
site for selling computers, nothing more nothing less, they DO NOT have
download update drivers anywhere on their site. Now what I need is a
something to make the new Driver config by your self, re-write the Driver
and
hope it works, someway or somehow.

"DL" wrote:

So its a lost cause then?
Or did you bother to visit Time site and search for downloads specific
for
your model?

"Shadow" <Shadow@discussions.microsoft.com> wrote in message
news:AA6921A2-AB92-4818-9ECC-89C2DB98B883@microsoft.com...
It's an embedded Ethernet Controller to the motherboard, manifacturer
is
TIME
Computers, its a AMD Athlon(tm) XP 2600+ . the Ethernet Port has
numbers
an
letters printed on it so it dont have a name for it, I don't have a
number
to
contact the manifacturer, the other drivers are already embedded on the
motherboard too... I think....

"Patrick Keenan" wrote:

"Shadow" <Shadow@discussions.microsoft.com> wrote in message
news:1E7699EA-416B-4D54-8C7F-476FD199B72C@microsoft.com...
I dont have a CD for mine, I've seem to lost it, where can I download
the
Ethernet Controller?

It's impossible to tell you that specifically, since you don't mention
your
system or motherboard, or the name of the ethernet controller (if it's
a
separate card).

If it's embedded on the motherboard, get it from the motherboard
driver
set.

Get that from the motherboard manufacturer's website.


I can't find a download for the Ethernet Controller
anywhere, I got Windows XP Profesional SP2, I'm also missing Drivers
for
SM
Bus Controller & USB Mass Storage Device, if I dont have a CD for
any
of
these then how do I replace them, or make a new file of the Driver??

Ah. You haven't installed the motherboard drivers.

Identify your PC or the motehrboard (open the case and look for the
silkscreened manufacturer and model number on the board), then go to
the
maker's support site and get the downloads.


My PC is runing through a USB Connection for the Internet, and I
can't
get
it to run through the Ethernet Controller. PLZ HELP!

I have no CD's of anykind anywhere to re-install any of these
drivers!

After you download them and get the system working, make a CD with
these
files and store it with the XP CD.

HTH
-pk





Back to top
Enkidu
Guest





PostPosted: Sat Dec 22, 2007 1:42 am    Post subject: Re: What is the easiest way to convert unix/linux text files Reply with quote

Pegasus (MVP) wrote:
Quote:
"Eugen Austermann" <aussie@hotmail.com> wrote in message
news:476be747$0$16581$9b4e6d93@newsspool1.arcor-online.net...
As well known the line endings/carriage returns in text files under
Unix/linux differ from
those under DOS/WinXP.

Assume I got a text file with unix style line feeds.
What is the easiest way to convert all line endings to WinXP style ?

Eugen

AFAIR, Unix has an option to write text files with CRLF at the
end of each line.

It mainly depends on the app that writes it.

Alternatively you could open the file with Word, then save it
as a text file. You will be prompted to specify the EOL string,
i.e. CRLF.

That's neat.


Cheers,

Cliff

--

Have you ever noticed that if something is advertised as 'amusing' or
'hilarious', it usually isn't?
Back to top
Enkidu
Guest





PostPosted: Sat Dec 22, 2007 1:44 am    Post subject: Re: What is the easiest way to convert unix/linux text files Reply with quote

Eugen Austermann wrote:
Quote:

As well known the line endings/carriage returns in text files under
Unix/linux differ from those under DOS/WinXP.

Assume I got a text file with unix style line feeds. What is the
easiest way to convert all line endings to WinXP style ?

Eugen,


If you just want to *read* them (and print them) open them in WordPad.

Cheers,

Cliff

--

Have you ever noticed that if something is advertised as 'amusing' or
'hilarious', it usually isn't?
Back to top
John Wunderlich
Guest





PostPosted: Sat Dec 22, 2007 2:22 am    Post subject: Re: What is the easiest way to convert unix/linux text files Reply with quote

aussie@hotmail.com (Eugen Austermann) wrote in
news:476be747$0$16581$9b4e6d93@newsspool1.arcor-online.net:

Quote:
As well known the line endings/carriage returns in text files
under Unix/linux differ from those under DOS/WinXP.

Assume I got a text file with unix style line feeds.
What is the easiest way to convert all line endings to WinXP style
?

Eugen



Unix2Dos and/or Dos2unix

<http://www.freedownloadscenter.com/Utilities/Misc__Utilities/DOS2UNIX_UNIX2DOS.html>

HTH,
John
Back to top
RajKohli
Guest





PostPosted: Sat Dec 22, 2007 2:36 am    Post subject: Re: System and Msconfig closing Reply with quote

Glad to hear that your problem get solved.

"rsam2011@yahoo.com" wrote:

Quote:
Hi there,

I managed to solve the problem for now. I had to install Windows on a
different partition and formatted the other partitions not to leave
any previous files on the hard disk. I also did as you suggested and
installed an antivirus as soon as windows was installed. Up till now
it is working fine.

There isn't much information on those viruses for now, the only pages
i found were in Chinese. Hopefully someone finds a way to get rid of
this virus without re-installing Windows.

Anyway,
thanks again,
Bob
Back to top
Grampy Pete
Guest





PostPosted: Sat Dec 22, 2007 2:39 pm    Post subject: Re: interface Reply with quote

I've been using hotmail to interact with this newsgroup b/c I misunderstand
something. I have the directions to set up o.x. but the problem is headers. I
do not understand why about 300 of them pour in. What are headers and why do
I need them? I only want to ask and reply to the newsgroup as a source of
help -I do not want to read other topics.
Thank you
--

--
Grampy Pete


"Alan Edwards" wrote:

Quote:
Outlook Express Newsreader-Setting up
http://www.michaelstevenstech.com/outlookexpressnewreader.htm
http://www.microsoft.com/windows2000/community/newsgroups/setup.asp
http://insideoe.tomsterdam.com/resources/communities.htm#setupmsnews
http://rickrogers.org/setupoe.htm


....Alan
--
Alan Edwards, MS MVP Windows - Internet Explorer
http://dts-l.org/index.htm



On Tue, 2 Jan 2007 09:56:02 -0800, in
microsoft.public.windowsxp.help_and_support, Grampy Pete
llewon@hotmail.com> wrote:

I followed the directions given here to use outlook express to communicate
with this newsgroup. I received every message(they were pouring in) that was
posted to this newsgroup so I removed the newsgroup.
Could you please repost the procedure and tell me what I could have done
wrong? Thank you
Back to top
Daave
Guest





PostPosted: Sat Dec 22, 2007 4:38 pm    Post subject: Re: interface Reply with quote

"Grampy Pete" <llewon@hotmail.com> wrote in message
news:D1917B39-FE14-45E8-8A2A-873A7DE7A781@microsoft.com...
Quote:
I've been using hotmail to interact with this newsgroup b/c I
misunderstand
something. I have the directions to set up o.x. but the problem is
headers. I
do not understand why about 300 of them pour in. What are headers and
why do
I need them? I only want to ask and reply to the newsgroup as a source
of
help -I do not want to read other topics.

The header merely contains the Subject of the post, its author, when the
post was sent, and how large it is. Don't worry about all the headers
you see. It's normal, and you're not expected to look at every post!

If you have been participating in any recent threads, hitting Ctrl+H
will filter out all other threads; the only thing remaining will be
threads you are involved in. Hitting Ctrl+H again will take you back to
all the threads. You can toggle back and forth as many times as you
like.

If you ever want to see threads you were a part of that are *not*
recent, the Google interface is probably your best bet. Just go to
http://groups.google.com/grphp?hl=en&tab=wg and in the top box enter

author:grampy pete

The default is "Sort by relevance." If you'd rather "Sort by date," just
click on that link in the upper right-hand corner.

HTH.
Back to top
Mike L
Guest





PostPosted: Sat Dec 22, 2007 5:37 pm    Post subject: RE: Windows XP Home - Start-Up Config Reply with quote

I have the smae problem and the system does not allow me to delete the
programs from start up - as a result it takes about 15 minutes to access the
computer for use.
Help!
"pdugas" wrote:

Quote:
Which start-up items are needed in the System Config Utility? I have about
50 items that I do not need.
- Any Help Please!!!
Back to top
DL
Guest





PostPosted: Sat Dec 22, 2007 6:20 pm    Post subject: Re: Windows XP Home - Start-Up Config Reply with quote

If you can identify the Apps starting, their options may have a turn off /
on auto start option
You can disable startups in msconfig
I'd say there is more going on if it takes 15 mins before you can access
your PC, assuming you dont have 250mb memory

"Mike L" <MikeL@discussions.microsoft.com> wrote in message
news:B93A02A8-DAE6-484D-9CDB-B0A9FF48D1E2@microsoft.com...
Quote:
I have the smae problem and the system does not allow me to delete the
programs from start up - as a result it takes about 15 minutes to access
the
computer for use.
Help!
"pdugas" wrote:

Which start-up items are needed in the System Config Utility? I have
about
50 items that I do not need.
- Any Help Please!!!
Back to top
NeilT
Guest





PostPosted: Sat Dec 22, 2007 6:25 pm    Post subject: RE: Stop message on blue screen when I load blank audio CD Reply with quote

Hi
I am having the same problems, have you resolved this issue and if so how
many thanks
--
neil


"William" wrote:

Quote:
Can anyone help please ? I regularly burn audio CDs using Windows Media
Player 10. Recently whenever I load a blank audio CD I've been getting a
blue screen with the following Stop message:

Stop: 0x0000008E(0xC0000005, 0x806EE753, 0xB96B14B8, 0x00000000)

I'm running XP SP2 and IE7. What's going wrong and how can I fix this ?

Thanks in advance, William
Back to top
Grampy Pete
Guest





PostPosted: Sat Dec 22, 2007 9:24 pm    Post subject: Re: interface Reply with quote

HTH, you realy gave me information I needed to want to try newsgoups via o.x.
Those hundreds of headers pouring in is a fright for non techs-especially if
you don't even know what they are. I will,enter this in my 'learning folder',
share with friends and family, and get back to you with the results.
Thank you
--
Grampy Pete


"Daave" wrote:

Quote:
"Grampy Pete" <llewon@hotmail.com> wrote in message
news:D1917B39-FE14-45E8-8A2A-873A7DE7A781@microsoft.com...
I've been using hotmail to interact with this newsgroup b/c I
misunderstand
something. I have the directions to set up o.x. but the problem is
headers. I
do not understand why about 300 of them pour in. What are headers and
why do
I need them? I only want to ask and reply to the newsgroup as a source
of
help -I do not want to read other topics.

The header merely contains the Subject of the post, its author, when the
post was sent, and how large it is. Don't worry about all the headers
you see. It's normal, and you're not expected to look at every post!

If you have been participating in any recent threads, hitting Ctrl+H
will filter out all other threads; the only thing remaining will be
threads you are involved in. Hitting Ctrl+H again will take you back to
all the threads. You can toggle back and forth as many times as you
like.

If you ever want to see threads you were a part of that are *not*
recent, the Google interface is probably your best bet. Just go to
http://groups.google.com/grphp?hl=en&tab=wg and in the top box enter

author:grampy pete

The default is "Sort by relevance." If you'd rather "Sort by date," just
click on that link in the upper right-hand corner.

HTH.


Back to top
Iceman
Guest





PostPosted: Sat Dec 22, 2007 9:32 pm    Post subject: Re: interface Reply with quote

On Sat, 22 Dec 2007 06:39:01 -0800, Grampy Pete wrote in message
<news:D1917B39-FE14-45E8-8A2A-873A7DE7A781@microsoft.com>:

Quote:
I've been using hotmail to interact with this newsgroup b/c I misunderstand
something. I have the directions to set up o.x. but the problem is headers. I
do not understand why about 300 of them pour in. What are headers and why do
I need them? I only want to ask and reply to the newsgroup as a source of
help -I do not want to read other topics.
Thank you

Outlook Express is configured to download a minimum of 300 *unread*
headers. Some other newsreaders (such as Dialog, which I use) can get a
specified number of "sample" headers, which you can set yourself. In OE,
unless you have marked the group as read, the program will continue to feed
you a batch of 300 headers, until you mark it 'Read' or 'Catchup with
selected group'.

If you prefer to read the group through Google Groups, as another person
suggested, I would advise you to use your e-mail address instead of your
nic as a search keyword. It will return a safer list of only your own
postings.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp help and support All times are GMT
Goto page Previous  1, 2, 3 ... , 74, 75, 76  Next
Page 75 of 76

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum