|
echo new_text_here >> filename.txt
|
|
|
|
|
Michael Dunn wrote: echo new_text_here >> filename.txt
Very cool! I knew about using > to redirect the output but not >>
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Wow! Thank you very much!
I only think about >>, but forget echo! Ha! Ha!
|
|
|
|
|
I would like to know how to use rsm command to eject the CDROM tray?
Please help!
|
|
|
|
|
First, you use the following command to get the Friendly Names of the physical media that's mounted in the drives.
C:>RSM VIEW /TPHYSICAL_MEDIA
Then you use that name in the eject command:
C:>RSM EJECT /PFfriendly_media_name /ASTART
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
After run the command "rsm view /tphysical_media",
Then I got this result
*****
PHYSICAL_MEDIA
1
*****
Then I tried the command "rsm eject /PF1 /ASTART".
But failed!
I tried another PC with command "rsm view /tphysical_media",
Then I got this result
*****
PHYSICAL_MEDIA
*****
????????????
Please help!
|
|
|
|
|
RSM is NOT perfect. If it doesn't work, it doesn't work. The stupid thing will only see 1 of my 2 DVD drives and will only report the CD being mounted after some fiddling and many REFRESH commmands.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Hi everyone.
As I am sure most of you know, there are new rules for corporations that use email for communications within the company. Now you will have to archive all email per this article.
I am pretty much at a loss on how to get this done.
Most of the employees in our company use either outlook/ol express for email. Once they downlod the email, it is gone from the server.
Is there a way to 'trap' each message and send it to a folder?
Thanx for any help!
Jude
|
|
|
|
|
Exchange 2007 allows you to set up rules in the Hub Transport process that can specify archiving and auto BCCing of messages for just such purposes. You may want to look into it.
|
|
|
|
|
I haven't read the article or heard much at all about the specifics, but I'm wondering how this affects ISP's mail handling.
Even so, I've worked at 2 of the Big 3 US automakers and even there, saving copies of all that mail for 18 months is daunting to say the least. The storage requirements ... wow!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: but I'm wondering how this affects ISP's mail handling.
I think they fall under a different rule. I don't think they are responsible for keeping track of the email that flows through them, only their own emails that are used for internal work product.
Dave Kreskowiak wrote: The storage requirements
I hear you there, and considering that from what I have heard there is no such thing as single instance storage for attachments any more and the fact that they have added UM (Unified Messaging) tot he product line (read this as even larger and more attachments) it can get daunting to say the least.
|
|
|
|
|
You guys have had it good so far.
In Germany, the ISPs had to buy and install surveillance equipment to keep track of every website any customer visited, and every email passing through their servers. And they have to store that for several months.
It's called "Vorratsdatenspeicherung", (in the sense of "pre-crime data storage") and its used by law enforcement to revisit the last months of a suspects web activity...
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Sebastian Schneider wrote: In Germany, the ISPs had to buy and install surveillance equipment to keep track of every website any customer visited, and every email passing through their servers. And they have to store that for several months
Over here we have a system called Canivore[^], but I believe it's been replaced with something else. Inso far as I know or have read about it, it was only availble to track poeple once a court ordered wire tap was obtained.
What the previous posters where talking about is part of SOX Sarbanes Oxley Act[^]
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
I would like to know how to edit the registry of the Windows XP of another harddisk? It is not the boot one and will be used to boot in the other machine!
Please help!
|
|
|
|
|
You can open regedit, select the HKEY_LOCAL_MACHINE hive, then go to the file menu and select "load hive". You can then browse to the .DAT file representing the hive you want to load from the other hard disk. Regedit will then load this hive as a sub-key under HKLM, and you can edit the hive directly.
|
|
|
|
|
Thank you very much!
I can edit it now!
|
|
|
|
|
To clarify what Craster said, you launch REGEDT32, not REGEDIT. There are TWO registry editors, but only REGEDT32 will allow you to load a registry hive from a file.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thank you very much!
I can edit it now!
|
|
|
|
|
Not on XP - both commands launch the same app.
|
|
|
|
|
True. I was thinking back to 2000.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
I have written an application that, before it starts doing what it should do, first checks to see if there is a newer version of itself available on our network. It does so by checking the 'Creation Date' timestamp of an msi file.
Thus whenever I make changes I only need to rebuild the app and copy the msi file to the server. I wrote a little batch file that does the copying, using xcopy.
But lo and behold, a couple of days ago, I noticed that the app wasn't offering to update anymore (i.e. it had worked just fine up until then), and when I checked, I noticed that the 'Creation Date' of the copied msi file on the server was not the same as the 'Creation Date' of the original on my workstation. The 'Last Accessed' and 'Last Modified' dates were correct though.
I have tried to first delete the target file before copying the new one, but to no avail. Now obviously, I could change the code to use the 'Last Modified' timestamp but I really don't like the idea of manually updating 50+ installations, before that would start working.
My workstation runs XP pro and (unfortunately) the server still runs NT4 Server.
Can anyone please help me out with this, or at least explain to me how all attributes and timestamps are copied perfectly except the one?
Johan
|
|
|
|
|
Ran into a similar thing myself with log files. When you create a file on NTFS (which the server is probably using), if this involves deleting then recreating the file, the original creation time is cached (don't know how long for). The last accessed/modified are updated as you go, so normally this isn't a problem.
As a workaround, what I did was to use something like GetFileTime to retrieve all three file times, then use SetFileTime to update them so the creation time was set to the last access time. Since I was using native API calls, this wasn't exactly difficult.
Steve S
Developer for hire
|
|
|
|
|
Thanks Steve, you put me on the right track. I just found that moving the old file to an archive folder before copying the new file, seems to work. Apparently the creation time isn't cached if the original file isn't deleted / overwritten.
Johan
|
|
|
|
|
Timestamps are very hard to rely on. Why don't you update the minor version number within the MSI, and then check that version number when you check for updates?
|
|
|
|