Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 211-220 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
98C#SonstigesGibt den aktuellen ProgrammOrdnerPfad der Applikation aus.Console.WriteLine(AppDomain.CurrentDomain.BaseDirectory);View Update Delete
99C#SonstigesBeendet die aktuelle ApplikationApplication.Current.Shutdown();View Update Delete
100C#SonstigesStartet die aktuelle Applikation neuvoid RestartApplication() { string[] FullNameSplit = Application.ResourceAssembly.FullName.Split((char)44); Process.Start(FullNameSplit[0] + ".exe"); Application.Current.Shutdown(); }View Update Delete
101C#SonstigesGibt die Version der aktuellen Applikation als string zurückprivate string GetApplicationVersion() { string[] FullNameSplit = Application.ResourceAssembly.FullName.Split((char)44); return FullNameSplit[1].Replace("Version=", string.Empty).Trim(); }View Update Delete
104C#SonstigesGibt den Temporären Ordner des System zurückstring sysTempPath = System.IO.Path.GetTempPath();View Update Delete
107C#SonstigesArbeiten mit der Zwichenablage (Clipboard)Clipboard.SetText("Text..."); string myString = Clipboard.GetText();View Update Delete
111HTMLSonstigesRSS Hinweis<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="Feed-URL"/>View Update Delete
278PowerShellFilehandlingPrüfen ob Verzeichnis existiert$myFolder = "C:\TEMP" if ((Test-Path $myFolder) -eq $true) { write-host "Folder exists!" } else { write-host "Folder doesn't exist!" }View Update Delete
280PythonFilehandlingPrüfen ob Verzeichnis existiertimport os.path from os import path myFolder = "/tmp/test" if path.exists(myFolder) & path.isdir(myFolder): print "Folder exists!" else: print "Folder doesn't exist!"View Update Delete
281PythonFilehandlingVerzeichnis erstellenimport os myFolder = "/tmp/test" try: os.mkdir(myFolder) except OSError: print ("Error creating directory: %s" % myFolder) else: print ("Directory created: %s " % myFolder)View Update Delete