|
Thanks Steve S for your swift reply!
Well.. I guess you're right. I tried and managed to get the old PC to show up the dates with the right format (using DOS' COUNTRY.SYS) but the problem persists. I checked the very old DOS help command and it says XCOPY uses the date format defined by COUTRY.SYS, but since I'm running the version from one of the newer machines I guess it no longer applies.
I ran a small test on a set of 27 files randomly taken (well.. the shortest in size) from the My Documents folder. I copied them to c:\test and then to \\backupserver\c\test
I then used the dir command on both directories and the result (shown below) was the same, the only difference being the bytes free information.
02-01-1997 00:02 <DIR> .
02-01-1997 00:02 <DIR> ..
24-03-2004 13:57 0 a
14-04-2004 17:47 32.256 aas.xls
16-01-2004 00:42 34.304 acta cf.doc
30-04-2004 17:49 446 apm.plc
30-04-2004 15:53 4.014 apm.res
14-05-2003 18:07 13.312 bioelectro.xls
10-01-2004 19:32 25.088 blackbir.doc
27-04-2004 18:22 175 bq.plc
29-04-2004 18:57 29.027 bqexpiV.zip
15-03-2004 17:36 385 contagem.txt
11-04-2004 00:17 15.291 create_mgr_html.htm
30-04-2004 12:25 39.936 Doc2.doc
30-04-2004 12:25 60.928 Doc3.doc
14-05-2003 11:39 10.752 Enzim.xls
30-04-2004 17:53 182 eu.plc
30-04-2004 12:26 62.976 exp IV.doc
30-04-2004 19:50 68.096 exp IV.xls
27-10-2003 19:59 77.670 fcul.bmp
24-03-2004 13:56 3.372 fcul.tnt
12-04-2004 17:58 903 manibru_htm.htm
30-04-2004 19:50 724 mm.plc
27-02-2004 03:38 44 motherboardP90.txt
14-04-2004 20:27 7.379 mula.htm
16-01-2004 00:42 31.232 pareceres CF.doc
29-04-2004 01:35 26.112 Prep Experimental IV.doc
27-04-2004 17:38 59 t.plc
17-03-2004 17:34 111 xstr.bas
27 File(s) 544.774 bytes
2 Dir(s) 185.942.016 bytes free
I ran the dir command directly from the server (Win 95) and the differences were the year format (DD-MM-YY instead of DD-MM-YYYY - could it be some kind of Y2K bug?) and two extra columns containing the DOS name and the extension.
These are the files that xcopy would have copied with the /D /Y /L parameters (copy only newer files, overwrite without asking and list only the files without copying them):
C:aas.xls
C:apm.res
C:blackbir.doc
C:Doc2.doc
C:Doc3.doc
C:exp IV.doc
C:exp IV.xls
C:fcul.tnt
C:motherboardP90.txt
C:pareceres CF.doc
C:Prep Experimental IV.doc
C:t.plc
12 File(s)
Why these files?? It has apparently nothing to do with dates or times or even 8.3 names vs long names... At least it's always the same 12 files! Any help would be very appreciated!
BigManel
|
|
|
|
|
I'm still having the same problem with my Automatic Update system in WinXP. Every single day, sometimes twice a day, the system downloads the exact same patch and waits for me to install it. It's patch #KB835732.
I still don't know whether a virus is deleting this patch everyday or what. All I know is that it insists on installing this patch everyday, and will it will sit there in the systray until I acknowledge it.
I tried installing the patch manually and that didn't work. I updated both my virus scanner and firewall and have run numerous full scans. Still nothing. I'm desperate now. Any help would be greatly appreciated.
"Go to, I’ll no more on’t; it hath made me mad." - Hamlet
|
|
|
|
|
Have you tried disabling your antivirus scanner and manually installing the patch while it's disabled? Often AV software will mistake an OS patch for a virus and block its installation, though it may not tell you about it. Obviously, you should re-enable it after the installation is complete.
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
Hi,
I am trying to have a timer facility with the following constraints,
1. The call back routine must be processed as fast as possible after the timer expires, though windows is not a RTOS, how close can we achieve this?
2. The callback routine must be run asynchronously. The thread should be able to assign a callback to be run after a particular period of time and continue with its tasks without being bothered to wait on that timer.
Given the choices available in windows, CreateTimerQueue, Multimedia timers, Waitable timers, SetTimer fn. Settimer is a plain fn, which does not guarantee prompt processing (WM_TIMER is has least priority). Timer queue implementation relies on thread pooling concept whose performance is a question when we think about RT performance. Multimedia timers allow only a few functions to be used in the calling function which makes it impossible to use mutex or semaphore fns in it. Waitable timers, block the calling thread.
Is there any other timer / or implementation that would help me achieve the above constraints?
Thanks 'n Regards,
S.Senthilkumar
|
|
|
|
|
TIMDLL from http://codeproject.com/ccp/JpmTimers.asp
or
BOSDLL from http://codeproject.com/ccp/BOS.asp
had just this in mind.
Both use a MultiMedia timer, it trips a heart-beating thread (every millisecond) which: -
1) spins-a-thread(starting at user supplied entry point),
2) causes a function execution(starting at user supplied entry point) or
3) sets an event-flag
as the user has specified. It is accurate to one millisecond.
Lymington
|
|
|
|
|
Thank you Lymington for your reply. I am currently trying to understand your code.
Yours
S.Senthlkumar
|
|
|
|
|
Outlook 2000 ( sp3 ) is eating a lot of my CPU time, 99% when doing nothing; no network activity, just running wildly ... on its own ... ?
kinda' puzzled ... at least, it doesn't look it's sending out emails by the tons ...
Thanks for any info ...
Max.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
This is mostly FYI:
For some time I have been unsuccessfully trying to install Windows 2003 on a Asrock K7S8XE MB / AMD 2400+. Also with the patches (applied April 9th)for windows 2000 this machine would no longer boot with that system either. So I concluded something must have been damaged on the board during some power failures (had several light strikes on the power lines this spring.) even with a line conditioner in the circuit. I was wrong, a new board (new rev of same model) had no impact. I have the same mb on several systems and drives in cradles so I can rearrange the system.
I have finally traced both problems this last weekend to a NEC 100Meg Zip drive. I swapped it out with a second drive and also a Iomega 100 and all had the same impact. Recieved a drive io error message and then the machine would crash and restart. Removed the zip drive and all is well. It also works fine with a 250 meg drive.
So I do not know if this is just a freaky combination or the drive in general. Is anyone using 100meg zip drives with other mb's?
I do not mind getting old. It beats all the other options that can think of.
|
|
|
|
|
I tried using my 100 meg Iomega Zip Drive with my XP machine.
After spending a day at trying to get it to work, I downloaded all the drivers from Iomega, I threw it in the trash. I could not even sell it on eBay.
I have a CDRW now, and I will never use a Zip Drive again.
|
|
|
|
|
I would like to point out it is the 100 that is not ATAPI compatible. The 250 that I have is fine.
I do not mind getting old. It beats all the other options that can think of.
|
|
|
|
|
I'm developing an application that needs to lock the desktop, taskbar, switching keys, ...
I'm hidding the desktop using the following code:
ShowWindow(FindWindow(NULL, "Program Manager"), SW_HIDE);
I'm hidding the taskbar using the following code:
ShowWindow(FindWindow("Shell_TrayWnd", NULL), SW_HIDE);
The problem arrives if the user double click the desktop area - the start menu appears !
I need to disable the mouse clicks in the desktop.
I used the following (hook) code in Win9x:
LRESULT CALLBACK MouseHookProc(int nCode, WORD wParam, DWORD lParam)
{
if (nCode >= 0)
if (wParam == WM_LBUTTONDBLCLK)
if (((MOUSEHOOKSTRUCT *)lParam)->hwnd == GetDesktopWindow())
return 1;
}
return CallNextHookEx(hHook, nCode, wParam, lParam);
}
or
LRESULT CALLBACK GetMessageHookProc(int nCode, WORD wParam, DWORD lParam)
{
MSG *p = (MSG *)lParam;
if(nCode >= 0)
if ((p->hwnd == GetDesktopWindow()) && (p->message == WM_LBUTTONDBLCLK))
p->message = WM_NULL;
return CallNextHookEx(hHook, nCode, wParam, lParam);
}
This works fine in Win9x but doesn't work in Win2K !
If I use the WH_MOUSE_LL in Win2K it works fine !
I would like to use the same code for Win9x and WinNT/2K.
Can anyone help me ?
|
|
|
|
|
I have converted our production server to 2003 Server and
have one website that is giving me fits. I am getting the
following error on a CreateObject("scripting.dictionary")
command. The error is
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking
permissions. Access is denied to this object.
I have found and followed the knowledgebase articles that
tell you to make sure IUSR_<servername> has read execute
acces to the msvbvm60.dll and it doesn't correct the
error. If I make IUSR_<servername> and member of the
administrator group it works. I have even tried to get
IUSR_<servername> full access to the C Drive and even that
doesn't work. Only thing that does work is to make the
user part of the Admistrator group and thas leaves a
security problem. Any ideas on how to fix the problem?
Please help
Thanks in advance,
Navneet
|
|
|
|
|
This object is implemented in the scrrun.dll library; you should ensure that the IUSR_ user has read and execute access to the System32 directory (I think).
The full access to C: had no effect, at a guess, because the Windows\System32 folder doesn't inherit its ACL from the parent. I can't test this theory right now because I don't have a Windows Server 2003 system handy.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I would suggest you right click on your c Drive and go to the security tab. In that see if the windows 2003 administrator is available. Go to the advance tab and see who the owner is. change the owner to the windows 2003 administrator. Add the user to this file in the security tab and give him rights.
Tarakeshwar
CCIE Q(Routing and Switching), MCSE Security
|
|
|
|
|
Hi Friends,
Is there any way to install office 2000 developer on named instance?
VikramS
|
|
|
|
|
Hi boys
any boady knows to lock a file ?
krishnadk
|
|
|
|
|
Hi,
I have an remote Win-XP box to which I need to connect (Means I want to log on to Win-XP box from Win 2000 Prof box) . How can I get connected on to it. I am on a box which has Windows 2000 Professional.
Came to know that Terminal services is not for Win-XP, Will WinVNC work?
Or any other way.
Thanks,
Prashant
|
|
|
|
|
If it's Windows XP Pro, go to Control Panel > System, Remote tab, and check 'Allow Users To Connect Remotely To This Computer'. You can now use Remote Desktop Connection[^] to connect to the PC. Remote Desktop Connection is basically the new name for Terminal Services Client.
XP Home doesn't offer Remote Desktop.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi guys
How we can recover a deleted file in windows. i think we can do it by changing some file table entry.
Help me if any one knows.
Thanks in advance
bye
i can do anything
|
|
|
|
|
What do you mean? By any software or by your software?
There are alot of utilities that can help you recovered deleted files. For example: GetDataBack, DiskEdit, iRecover, NU...?
|
|
|
|
|
I have a standard Win32 application ( MFC, SDI ) that I have written.
On most user's desktops, set to run at 1280x1024 with "small fonts", the application appears fine.
However, when the application runs on one user's machine the fonts appear larger than normal causing the application's window to not fit on the display without showing scroll bars.
I have verified her settings are 1280x1024 with "small fonts" like everybody elses ..
What else should I look at to determine why the application is behaving differently on her machine ?
|
|
|
|
|
You'd think something like this would be easy... but it has been a difficult journey so far. But anyway, I am simply trying to be able to run the MSDN installer from the command line, in an unattended mode.
I can mostly make it work with this gem:
msiexec /qb /i F:\msdn.msi SETUP_EXE=yes
(assuming F: is a CD or network share or someplace containing the MSDN install package.) That will always install it into C:\Program Files\MSDN, and I may or may not want it there. I want to be able to specify a target directory on the command line.
After some poking in the MSI package, I tried this, but to no avail:
InstallFolder=C:\Foo
I then found I can specify this property to make it work:
MSDN_QTR.3643236F_FC70_11D3_A536_0090278A1BB8=C:\Foo
There has to be a better way. I am worried that the identifier there is arbitrary and might change on me when the next MSDN comes out. Does anyone know a better or more reliable way of doing this??
Sometimes I feel like I'm a USB printer in a parallel universe.
|
|
|
|
|
Do you have a copy of ORCA or msi2xml?
This would let you look in the tables, and you could examine different MSIs from say, Jan and April, and see if the install folder is different. This will be in the properties table somewhere.
The trailing bit looks suspiciously like a GUID, so it may well change from release to release...
Steve S
|
|
|
|
|
Yes, I found it using ORCA. I should probably look in the April release (I used this one from the January release) to see if it changes... if it does, I guess I'm hosed.
Sometimes I feel like I'm a USB printer in a parallel universe.
|
|
|
|
|
This is odd. The PC I gutted last week, replacing the PII motherboard with a 3GHz P4, runs as slow as the old one. A bit of exploration revealed that the C: drive is operating in MS-DOS Compatibility Mode. That explains the slow operation, but none of the Technet Knowledge Base solutions applies to this unit. I've sorted through about 40 of the articles, and all talk about specific situations which are not applicable. Any other ideas?
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|