A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Two questions about cmd prompt



 
 
Thread Tools Display Modes
  #1  
Old April 16th 08, 05:38 PM posted to microsoft.public.windowsxp.general
Sal
external usenet poster
 
Posts: 47
Default Two questions about cmd prompt

Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.

Also, is there a way to determine the currently logged-on user from a
cmd prompt?
Ads
  #2  
Old April 16th 08, 05:40 PM posted to microsoft.public.windowsxp.general
BigJim
external usenet poster
 
Posts: 171
Default Two questions about cmd prompt

you can use the copy command to copy any files from the hard drive.
"Sal" wrote in message
...
Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.

Also, is there a way to determine the currently logged-on user from a
cmd prompt?


  #3  
Old April 16th 08, 06:01 PM posted to microsoft.public.windowsxp.general
Sal
external usenet poster
 
Posts: 47
Default Two questions about cmd prompt

On Apr 16, 9:40*am, "BigJim" wrote:
you can use the copy command to copy any files from the hard drive."Sal" wrote in message

...



Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.


Also, is there a way to determine the currently logged-on user from a
cmd prompt?- Hide quoted text -


- Show quoted text -


Thanks for your answer. I use XCOPY to backup my files to other media.
My question was how to use a batch command to export the favorites out
of IE7 first, so I can back them up later.

I also would like to know if there's a command to determine the
currently logged-on user.
  #4  
Old April 16th 08, 06:16 PM posted to microsoft.public.windowsxp.general
Pegasus \(MVP\)[_891_]
external usenet poster
 
Posts: 1
Default Two questions about cmd prompt


"Sal" wrote in message
...
On Apr 16, 9:40 am, "BigJim" wrote:
you can use the copy command to copy any files from the hard drive."Sal"
wrote in message

...



Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.


Also, is there a way to determine the currently logged-on user from a
cmd prompt?- Hide quoted text -


- Show quoted text -


Thanks for your answer. I use XCOPY to backup my files to other media.
My question was how to use a batch command to export the favorites out
of IE7 first, so I can back them up later.

I also would like to know if there's a command to determine the
currently logged-on user.

========================

The command
echo %UserName%
will tell you who's logged on right now.

Under IE6 the favorites are kept in "%UserProfile%\Favorites".
I suspect they are kept in the same place under IE7. If you cannot
see them, search your disk for the name of one of your favorites,
e.g. "EBanking".


  #5  
Old April 17th 08, 02:22 AM posted to microsoft.public.windowsxp.general
BigJim
external usenet poster
 
Posts: 171
Default Two questions about cmd prompt

do you want the batch file to run in vista or at the cmd prompt?

"Sal" wrote in message
...
Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.

Also, is there a way to determine the currently logged-on user from a
cmd prompt?


  #6  
Old April 17th 08, 02:51 AM posted to microsoft.public.windowsxp.general
blank[_2_]
external usenet poster
 
Posts: 26
Default Two questions about cmd prompt

Sal wrote in news:341f53d2-f7e6-4121-9c27-4f98885f6aa4@
26g2000hsk.googlegroups.com:

Is there a command to export IE7 favorites from a cmd prompt? I would
like to use it in a batch file to backup some selected files.

Also, is there a way to determine the currently logged-on user from a
cmd prompt?


Favorites are just files in your favorites folder, the ones with a .url
extension. Your favorites folder is normally in %userprofile%\favorites,
which is usually something like
"C:\Documents and Settings\yourusername\Favorites"
From a cmd prompt, you should be able to copy these as you would any other
files.

Type:
SET USERNAME
in a cmd prompt to find out the current username
or just type:
SET
to see all environment variables (including %userprofile% mentioned above)
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:14 PM.


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