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 81-90 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
246Bash ScriptFilehandlingFilename-Manipultation Basics#!/bin/sh myFilename="$1" # or myFilename="/tmp/Test/myFile.txt" # Get only the path path_only=$(dirname "$myFilename") # /tmp/Test # if it is a local file in the path, then . will be prompted e.g. myFilename="myFile.txt" # Filename only filename_only=$(basename "$myFilename") # myFile.txt # get only filename without extention filename_without_ext="${filename_only%.*}" # myFile # get only the extension filename_extention_only="${myFilename##*.}" # txt # put them together again myFilename_together="${path_only}/${filename_without_ext}.${filename_extention_only}" # /tmp/Test/myFile.txtView Update Delete
254PowerShellFilehandlingAlle Dateien aus Verzeichnis auslesen$CSVFullPath = "C:\Temp" $FileFilter = "*.csv" $ListOfFiles = (Get-ChildItem -Path $CSVFullPath -Filter $FileFilter) | Select Name, BaseName, DirectoryName, FullName, Extension $ListOfFiles.Name View Update Delete
255PowerShellFilehandlingVerzeichnis rekursiv durchsuchen$CSVFullPath = "C:\Temp" $FileFilter = "*.*" $ListOfFiles = (Get-ChildItem -Path $CSVFullPath -Filter $FileFilter -Recurse) | Select Name, BaseName, DirectoryName, FullName, Extension | Where {$_.DirectoryName -like "*not_processed*" } $ListOfFiles.FullNameView Update Delete
43Bash ScriptSonstigesKopfzeile sh-Datei#!/bin/sh # Einfaches Beispiel ... View Update Delete
90C#SonstigesMultithreading in einer Anwendungpublic MainWindow() { var newThread = new System.Threading.Thread(doMethode); newThread.Start("Hallo Welt!"); } private void doMethode(object message) { Console.WriteLine(message); }View Update Delete
93C#SonstigesSolidColorBrush von String KonventiereninputBox.BorderBrush = new BrushConverter().ConvertFromString("#FF7F9DB9") as SolidColorBrush;View Update Delete
95C#SonstigesProgramm mit Parameter startenpublic void StartApp(string filePath, string arguments) { var newProcess = new Process(); newProcess.StartInfo.FileName = filePath; newProcess.StartInfo.Arguments = arguments; newProcess.Start(); }View Update Delete
96C#SonstigesProgramm einfach startenProcess.Start("Programm.exe");View Update Delete
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