ShiftOS-TheRevival-Old/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Hostname.vb

7 lines
235 B
VB.net
Raw Normal View History

Module Com_Hostname
Public Sub Hostname()
Strings.ComputerInfo(0) = command.Substring(command.LastIndexOf(" ") + 1, command.Length - (command.LastIndexOf(" ") + 1))
Terminal_AssignPrompt()
End Sub
End Module