tag:blogger.com,1999:blog-41584867012284138032024-03-05T10:04:19.319+01:00thinking.nerdEverything about.Thorstenhttp://www.blogger.com/profile/18417561085741373554noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4158486701228413803.post-63724043703716027442011-01-15T17:47:00.003+01:002011-01-15T18:00:15.339+01:00Create Windows shares from command line using RMTSHARE.EXEToday i've needed a way to automatically create a windows share on flash disks with a script file (so this script can be run by the user after he pluggin the stick in).<br>
<br>
The Windows Ressource Kit provides the tool "RMTSHARE.EXE" which is able to solve this problem. You can find the Windows Resource Kit on your Windows Server 2003/2008 CD or <a href="http://www.dynawell.com/download/reskit/microsoft/win2000/rmtshare.zip">download it directly here</a>.<br>
<br>
Example:<br>
To create a share called "temp" on folder "C:\temp" with Read/Write Permissions and grant local user "admin" type:<br>
<br>
<blockquote>rmtshare \\localhost\temp=C:\temp /GRANT localhost\admin:RC</blockquote><br>
<br>
<a href="http://thinkingnerd.blogspot.com/2011/01/create-windows-shares-from-command-line.html#more"> </a>Thorstenhttp://www.blogger.com/profile/18417561085741373554noreply@blogger.com6tag:blogger.com,1999:blog-4158486701228413803.post-47234598138116423112011-01-07T21:32:00.012+01:002011-01-10T22:45:32.015+01:00Exporting Oracle data to HTML or ExcelTo export data from an oracle database via SQL to an HTML file, you<br>
can use the "markup html" feature.<br>
<br>
This can also be used to Export data to Excel due it can interpret and format HTML files in a proper way<br>
<a href="http://thinkingnerd.blogspot.com/2011/01/exporting-oracle-data-to-html-or-excel.html#more"> </a>Thorstenhttp://www.blogger.com/profile/18417561085741373554noreply@blogger.com0tag:blogger.com,1999:blog-4158486701228413803.post-8768082786861248312011-01-05T17:24:00.014+01:002011-01-15T18:10:00.561+01:00rm command - Adding Security PromptIt just happened again.... in Unix/Linux Environments a small <span style="color: orange;">rm</span> can kill your work of hours or even worse.<br>
A very likely error is putting an / too much at the beginning of the path... and you accidentally hit the wrong folder(s). Gone for ever. Due to there is no trash can like in windows. Bye Bye data. <br>
<br>
To avoid these errors, you can trick yourself with setting an alias on rm.<br>
<br>
<a href="http://thinkingnerd.blogspot.com/2011/01/rm-command-adding-security-prompt.html#more"> </a>Thorstenhttp://www.blogger.com/profile/18417561085741373554noreply@blogger.com0